I want to change the version of pom file in all the projects based on single common config file.I have the property defined in parent pom file. But tag version cannot be replaced with ${common-project.version} which is defined in properties of parent pom file. Is there way to achieve it.
Please find the example below.
<parent>
<groupId>com.test</groupId>
<artifactId>test-project</artifactId>
<version>11.0.1-SNAPSHOT</version> <!-- PROJECT VERSION -->
<relativePath>../pom.xml</relativePath>
</parent>
I want to change the 'version' tag in all the projects based on single config file to remove the duplication.