|Re: [tycho-user] Is it possible to add mockito as a maven dependency to a test plugin?|
It is possible to add Mockito and Hamcrest as dependencies to a test plug-in. The easiest way to do it is:
Alternatively, if you want to rely on artifacts from Maven Central that are not available from an update site you can also
wrap the JAR as an OSGi bundle  or
ask Tycho to create a new OSGi bundle dynamically .
Le 16/08/2019 à 17:49, Steinar Bang a écrit :
Mickael Istria <mistria@xxxxxxxxxx>:On Thursday, August 15, 2019, Steinar Bang <sb@xxxxxx> wrote:Is it possible to add mockito and hamcrest as maven dependencies to a test plugin project built with tycho?Use the Orbit p2 repo to get those artifacts in a p2/Tycho-friendly way: https://download.eclipse.org/tools/orbit/downloads/drops/R20190602212107/repositoryIn other words: No it isn't possible...? :-) That's a pity, it would have simplified things a lot, if I could have used artifacts from maven central (provided that they are OSGi bundles, of course...). _______________________________________________ tycho-user mailing list tycho-user@xxxxxxxxxxx To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tycho-user
Back to the top