Hi, FYI, I build dynamicaly the lib directory with the copy-dependencies goal of the maven-dependency-plugin. This goal is configured to remove the version in the file name, so the build.properties can be modified as :
bin.includes = plugin.xml,\ > META-INF/,\ > .,\ > icons/,\ > lib/,\ > lib/myJar.jar sandra Igor Fedorenko-4 wrote: > > 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 > > > > -- View this message in context: http://www.nabble.com/tycho-and-maven-dependecies-tp22180805p22430951.html Sent from the Maven Eclipse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
