Skip to content

Conversation

dario-cimafonte
Copy link

When using the KarafFeaturesOption to depend on a feature being available, together with the useDeployFolder(false) option, the test-dependencies.xml file generated by the Karaf test container will not list the given features as dependencies. This would help ensure that all required bundles were started before running the tests.

This patch scans for existing KarafFeaturesOptions too and includes them in the resulting Karaf features repository test-dependencies.xml.

Please see Jira story

@@ -123,6 +123,10 @@
<type>xml</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is <scope>test</scope> missing here? (Or is it in dependencyManagement of the parent?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants