In our projects, we have about 25 maven projects and each one of them contains at least 3 module projects and one parent POM. So total is around (25 *4) 100 POM files. Is there any easy way to maintain POM change version ? So this task become tedious and boring task. This must be common problem across the Software Development ?
Does anyone have scripts or tool to do this version change to handle following 3 cases ?
1) <dependency> <groupId>THEGROUPID</groupId> <artifactId>THEARTIFACT</artifactId> <version>THE-VERSION</version> </dependency> 2) <dependency> <groupId>THEGROUPID</groupId> <artifactId>THEARTIFACT</artifactId> <version>$(version.number)</version> </dependency> 3) <parent> <groupId>THEGROUPID</groupId> <artifactId>THEARTIFACT</artifactId> <version>THE-VERSION</version> </parent> We have 25 maven projects and each one have on each other (via parent pom but not cyclic dependency) dependency, between them. So When we change a version of one of the lib, it needs to be changed throughout out all the maven module parent POMs..... Hence, I was looking for tool that can achieve this across the rage of POMs not just one muti-module project (release plug-in will only release and ONE maven muti-module project.) I hope this will have better understanding of the problem..
Basically, I am looking for linux SED type of command but for specific groupid and artifactid.
Thanks,
Bmis13