It is not possible to mix maven and OSGi dependencies at the moment. I can give more detailed explanation, but it all boils down to discrepancy between Maven and OSGi dependency resolution rules without any easy solution (if solution is possible at all).

The easiest way to workaround this is to actually create lib/myJar-3.2.5.jar file and check it into VCS along with other project sources.

It is also possible to "wrap" myJar-3.2.5.jar into automatically generated OSGi bundle like we did with maven m2e dependencies, but this does not work very well at the moment.

--
Regards,
Igor

sandraB wrote:
Hi,
I'm working on the migration of an existing project to tycho. In this
project, a lib is specified in the build.properties as an include :

bin.includes = plugin.xml,\
               META-INF/,\
               .,\
               icons/,\
               lib/,\
               lib/myJar-3.2.5.jar

With tycho, I declare myJar-3.2.5.jar as a dependency in the pom.xml of the
eclipse-plugin project. But I loose this dependence when I generate the
plugin jar ! How can I fix this ?
Thanks in advance. Sandra


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to