Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Add built feature to surefire dependencies

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:

   <dependency>
                 <artifactId>my.feature</artifactId>
                 <type>eclipse-feature</type>
               </dependency>

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
[ERROR]

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.
Felix

--
Linux. The choice of a GNU generation.

Back to the top