Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] p2-artifacts.properties & p2-local-metadata.properties

Hello,

we are new to maven-tycho and my co-worker is developing an RAP application using maven-tycho and only on his machine it is possible to resolve dependencies and build the application (which is very bad!).

He gave me the source code and mvn clean install fails with the following message (excerpt)

Missing requirement: foo.bar.excel 0.0.1 requires 'package org.apache.poi.openxml4j.exceptions 0.0.0' but it could not be found [ERROR] Cannot satisfy dependency: foo.bar.algo.rti 0.0.1 depends on: package foo.bar.excel 0.0.1 [ERROR] Cannot satisfy dependency: foo.bar.ui.core 0.0.1.qualifier depends on: bundle foo.bar.stoffident.algo.rti 0.0.0

After some research i found the following files in his ~/.m2/repository/.meta directory, which are missing in my .m2 directory

p2-artifacts.properties
p2-local-metadata-properties

After i copy this files into my direction, tycho is able to finish the build with the following warning.

[WARNING] The following locally built units have been used to resolve project dependencies:
[WARNING]   org.openscience.cdk/1.4.17.201303081326
[WARNING]   org.apache.poi/3.9.0.201302271749

How and when are those two files generated?

Greetings from Germany
Tobias







Back to the top