Skip to content

Instantly share code, notes, and snippets.

@xdu
Last active December 3, 2015 10:34
Show Gist options
  • Save xdu/cb3e74596ba3246f3ba0 to your computer and use it in GitHub Desktop.
Save xdu/cb3e74596ba3246f3ba0 to your computer and use it in GitHub Desktop.
Change the maven project version and the children

When a maven project contains multiple sub modules, the command line below can change all the versions to the specified one.

mvn release:update-versions -DdevelopmentVersion=16.1.0-SNAPSHOT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment