Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Can tycho pull a 3rd party (non-osgi) jar into a bundle lib dir and make sure it's on the bundle classpath?

one option is to use the maven-dependency-plugin:copy goal, see e.g.

https://github.com/eclipse/tycho/blob/9969737355b3c7ef7db3e88961a3529214a0baa0/tycho-surefire/pom.xml#L59
https://github.com/eclipse/tycho/blob/9969737355b3c7ef7db3e88961a3529214a0baa0/tycho-surefire/org.eclipse.tycho.surefire.junit47/pom.xml#L34 

Regards
Jan



On 24.04.17, 13:03, "tycho-user-bounces@xxxxxxxxxxx on behalf of Felix Dorner" <tycho-user-bounces@xxxxxxxxxxx on behalf of felix.dorner@xxxxxxxxx> wrote:

Hi,


I have a plugin that needs a 3rd party (non-osgi) jar in its classpath. Currently the jar is in a lib folder. I now have to commit the plugin, but I don't want the .jar in git. Is there some magic maven/tycho helper/trick that can help me download this jar
 into the right place on build (button click) time?


Thanks, 

Felix







Back to the top