Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Tycho not finding some dependencies during integration testing

I have created a plugin fragment.  However, when running test fragment it seems to fail due to missing dependencies.  For example:

    !ENTRY org.eclipse.osgi 2 0 2014-02-03 20:00:42.034
    !MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
    !SUBENTRY 1 org.eclipse.osgi 2 0 2014-02-03 20:00:42.034
    !MESSAGE Bundle initial@reference:file:C:/Users/andres/.m2/repository/p2/osgi/bundle/org.mockito/1.8.4.v201303031500/org.mockito-1.8.4.v201303031500.jar/ was not resolved.
    !SUBENTRY 2 org.mockito 2 0 2014-02-03 20:00:42.034
    !MESSAGE Missing imported package org.hamcrest_[1.0.0,2.0.0).

If I remove the test fragment, tycho compiles and builds a working application.  The test fragment is marked to as packaging "eclipse-test-plugin".  I'm running tycho version 0.16.0 since I've had issues building the my applications as "eclipse-application" (which will be eventually migrated).  How can I trouble shoot this?

Thanks,

Andres

Back to the top