Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

getting artifactID from all pox.xml

Maddy M June 19, 2018

Hi,

I have following project setup and I created bamboo plan and building the package using pom.xml under project and it is building packages for subproject1,subproject2, subproject3, subproject4 and subproject5.

The issue I have is, when labeling the build, all subprojects packages artifactID are named as artifactID in parent pom.xml. Is there any way to extract artifactID  from each pom.xml and use it to label subproject package? Maven POM value Extractor, but I unable to exact the value from each POM and assign it to subproject.

 

parent pom.xml has module list(which is subproject names)

Could you please advise?



project
|------->pom.xml
|------->subproject1 |------->pom.xml |------->folder1 |------->pom.xml
|------->subproject2 |------->pom.xml |------->folder2 |------->pom.xml
|------->subproject3 |------->pom.xml |------->folder3 |------->pom.xml
|------->subproject4 |------->pom.xml |------->folder4 |------->pom.xml
|------->subproject5 |------->pom.xml |------->folder5 |------->pom.xml

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events