-
Notifications
You must be signed in to change notification settings - Fork 5
Version and Build numbers with maven
rkunas edited this page Mar 13, 2013
·
11 revisions
NOT FOR BRANCH 0.2
NOT FOR BRANCH 0.3
!! ONLY FOR BRANCH 0.4 and master !!
New Version and Build numbers can now be given easily by changing the pm4j.buildnumber property in the parent pom.xml.
This file is in the root folder.
Please do not change the Parent Version numbers in parent pom and in the modules. The Parent Pom versioning does not contain the build number. It is looking like the following
pm4j-main-0.4-SNAPSHOT
The submodules version number are given by pm4j.versionning
pm4j-core-0.4.001-SNAPSHOT pm4j-common-0.4.001-SNAPSHOT ...
How can i override the given Version in Parent POM ?
You just have to use following command
mvn install -Dpm4j.buildnumber=0.5.013-SNAPSHOT