Created
November 30, 2015 16:54
-
-
Save jonashackt/98ec1e7d809e1f1b02b2 to your computer and use it in GitHub Desktop.
Maven increment Version according to Numberingconventions of pom and update it in project.version inside pom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mvn build-helper:parse-version versions:set -DnewVersion=\${parsedVersion.majorVersion}.\${parsedVersion.minorVersion}.\${parsedVersion.nextIncrementalVersion} versions:commit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Remember to Escape the ${}-Mavenparameter via "", otherwise it won´t work and say bad substitution...