|
|
Re: Possible to use bundles as dependencies for maven jar projects? [message #725107 is a reply to message #643635] |
Tue, 13 September 2011 20:19  |
Eclipse User |
|
|
|
Jan Sievers wrote on Tue, 07 December 2010 11:47It is not possible to reference an artifact coming from a p2 repository (not
available from any maven repo) from a maven project with packaging type jar.
In general mixing POM-first and MANIFEST-first is not recommended as the
dependency resolution works completely differently.
This seems to make Tycho completely useless for anything other than simple eclipse plugins that don't use anything other than standard eclipse plugin jars from the eclipse releases site. I have the same issue as the original poster. I have some OSGi jars that I need to use in my eclipse plugin project, but I also have to use maven to do nightly builds on our build machine. Eclipse plug-ins and OSGi jars in general need dependencies listed in the manifest. The beauty of maven is having it pull down it's list of dependencies for you at build time based upon what's in the pom.xml. Why can't we do this? This is not a edge case for normal development. If tycho can't do this, then I'm not sure what the purpose of it is.
|
|
|
Powered by
FUDForum. Page generated in 0.05743 seconds