I have a tycho build that is building a feature 'my.feature'. I also have a test that, in order to pass, the feature must be installed in the test runtime. Since the surefire runtime is by default only the test bundle plus its transitive dependencies, I have to add the feature somewhere to include it in the test runtime explicitly. I try to use the tycho surefire <dependency> configuration:
But this fails:
[ERROR] Cannot resolve project dependencies:
[ERROR] You requested to install 'org.eclipse.equinox.p2.iu; my.feature.feature.group 0.0.0' but it could not be found
So I'm lost... how can I add the feature to the test runtime? I use tycho-surefire-plugin 1.7.0
Thanks for help.
Linux. The choice of a GNU generation.