Hi all,
I have an OSGI bundle build with tycho that I deployed into a non local nexus 
repository. Now I would like to build a feature that contains this bundle and I 
would like to have maven/tycho pull this bundle from the central repository. 
Now the question is: is this possible with tycho? I am using Version 0.15.0. 
And my experience is that tycho is able to build the feature when the bundle is 
already in the local .m2 repository. So the build of the plugin was already 
executed locally. In that case also the artifacts.xml and metadata.xml files 
are present. If I remove the content from .m2 the build fails with an 
unsatisfiable dependency error. 

I have already unsuccessfully tried to add the bundle as a dependency to my 
pom.  Currently I have my central maven nexus repository configured in 
settings.xml. For tycho I have configured a P2-Repository that contains the 
platform bundles (but not the bundle I am trying to pull).

Again: everything works fine if I have the bundle artifacts in my local .m2. 
Only if the bundle artifacts are removed, I get an unsatisfiable dependency 
error. The expectation is that the missing artifact is pulled from the central 
repository which definetly contains the artifact. 

I am fairly new to maven and would appreciate any hint on how to configure this.

Regards,
Thorsten


_______________________________________________
m2e-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to