Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Adding NL fragment to test plugin: upgraded Tycho, <dependencies> behaviour changed?

Hi Tycho users,

I’ve just upgraded from Tycho 0.17.0 to 0.25.0 (if it ain’t broke don’t fix it.. forced to upgrade as not working with the Neon platform, but did with Mars).

We have some tests that require an NL fragment to be installed as we check things like URLs in the translations. The fragment gets included via a surefire <dependency> configuration in the test plugin pom, ie:


Whereas this used to work fine (also with 0.18.1 and 0.19.0, then started having various other issues before it was getting as far as this plugin) now it’s complaining that it can’t find the NL fragment:

INFO] --- tycho-surefire-plugin:0.25.0:test (default-test) @ com.nd.common.tests ---
[INFO] {osgi.os=win32,, org.eclipse.update.install.features=true, osgi.arch=x86}
[ERROR] Cannot resolve project dependencies:
[ERROR]   You requested to install 'bundle 0.0.0' but it could not be found

The fragment was the last thing Tycho compiled successfully so should be present in the reactor - not sure why it’s now complaining.

Has something changed in this area and we need to handle this another way now? Couldn’t spot anything relevant in the dependency resolution troubleshooting page or release notes.. 

Many thanks,

Back to the top