-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: AAMP-2.0.6
-
Component/s: ant-assembly-maven-plugin
-
Epic Link:
-
Tags:
-
Upgrade notes:
-
Sprint:DevOps-12
Given
<artifact:set> <includes> <artifact groupId="org.nuxeo*" scope="!test" type="!pom" /> </includes> </artifact:set>
with a root POM (for the graph) which groupId starts with "org.nuxeo", it appears that the root POM of the graph can be included if, for instance, its type is not "pom".
The expected result can be achieved with:
<artifact:set> <includes> <artifact groupId="org.nuxeo*" scope="!test" type="!pom" /> </includes> <excludes> <artifact groupId="${maven.project.groupId}" artifactId="${maven.project.artifactId}" version="${maven.project.version}" type="${maven.project.packaging}" /> </excludes> </artifact:set>
It's useful that the root nodes are part of the graph but an option to exclude them from the artifact:set would be useful too:
<artifact:set excludeRoots="true"> <includes> <artifact groupId="org.nuxeo*" scope="!test" type="!pom" /> </includes> </artifact:set>
- depends on
-
NXP-20105 A package must not embed the CAP NXR
- Resolved