Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PAXEXAM-754] Treat Karaf features as dependencies when useDeployFolder(false) #44

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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.

None yet

2 participants