Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Problems running tests with luna platform

The problem is that the mockito JAR you are referencing does need the org.objenesis package which is not available on the Luna P2 repo.


On Tue, Mar 17, 2015 at 12:18 AM, Marc-André Laperle <marc-andre.laperle@xxxxxxxxxxxx> wrote:
I don't think you can add dependencies (mockito-all) from maven like that, it has to be an Eclipse plugin. I tried your example and added the mockito from Eclipse Orbit [1] and it works. See attached patch.


Hope this helps,

From: tycho-user-bounces@xxxxxxxxxxx [tycho-user-bounces@xxxxxxxxxxx] on behalf of Simon Goodall [simon@xxxxxxxxxxxxxxxxxx]
Sent: Monday, 16 March 2015 6:23 PM
To: Tycho user list
Subject: [tycho-user] Problems running tests with luna platform


I have been trying to migrate my product from a Indigo base to a Luna base. I have things working in Eclipse, but I am having trouble getting my unit tests to run in Tycho. Specifically I seem to be unable to add Mockito (mockito-all obtained from maven central) as a dependency to my test project either as a real plugin or a fragment). Removing the mockito dependency allows the test to pass. Tycho reports a fairly vague bundle is not found exception for my test bundle/fragment. However there does appear to be a number of unresolved capability requirements which I am unsure where they have come from.

Any suggestions on getting this to run? I have attached the error output of the test run and I have uploaded a sample project to github [1]. This can be run with "mvn -X clean integration-test -Pluna"



tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

Back to the top