Version management with multi module maven project
In order to manage version in maven multi module project , need to do following step :
1. Add version plugin Maven Version Plugin
3. Save Changes using below command
1. Add version plugin Maven Version Plugin
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.1</version>
</plugin>
2. From terminal use below command to set version
mvn versions:set -DnewVersion=2.1.1
3. Save Changes using below command
mvn versions:commit
0 comments:
Post a Comment