tycho icon indicating copy to clipboard operation
tycho copied to clipboard

Possible tycho and p2-layout-resolver interoperability issue or bug

Open reckart opened this issue 2 years ago • 0 comments

Apache UIMA uses the p2-layout-resolver maven plugin to access p2 repositories when building bundles using the maven-bundle-plugin.

Additionally, we use tycho to build eclipse features and update sites.

So far, this has worked quite fine, but it appears that it might be a bit fragile.

Attached is a project, that tries to reproduce key parts of the the Apache UIMA Ruta that recently were observed to fail.

The project yields:

[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: feature.feature.group 0.0.1.qualifier
[ERROR]   Missing requirement: feature.feature.group 0.0.1.qualifier requires 'org.eclipse.equinox.p2.iu; resolver-problem.plugin 0.0.0' but it could not be found

Whereas the original UIMA build yielded:

[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: org.apache.uima.ruta.feature.feature.group 3.4.0.qualifier
[ERROR]   Missing requirement: org.apache.uima.ruta.addons 3.4.0.SNAPSHOT requires 'osgi.bundle; org.apache.uima.runtime 0.0.0' but it could not be found
[ERROR]   Cannot satisfy dependency: org.apache.uima.ruta.feature.feature.group 3.4.0.qualifier depends on: org.eclipse.equinox.p2.iu; org.apache.uima.ruta.addons 0.0.0

resolver-problem.zip

@laeubi

reckart avatar Nov 29 '23 13:11 reckart