I have two top-level Maven projects, backend
and frontend
, that advance versions at their own individual pace. Since each has multiple modules, I d
I had the same problem and found nothing that changes pom properties in the file. I ended up using sed like you suggested:
cat pom.xml | sed -e "s%<util.version>0.0.1-SNAPSHOT</util.version>%<util.version>$bamboo_planRepository_branch</util.version>%" > pom.xml.transformed;
rm pom.xml;
mv pom.xml.transformed pom.xml;