Page History
...
This step is not required, but performs a useful sanity check without committing any changes. From a clean, up-to-date copy of trunk, run the following command:
Code Block |
---|
mvn release:prepare -DdryRun=true |
You will have to enter in your GPG passphrase (which you established when you created your Code Signing Key).
Info | ||||
---|---|---|---|---|
| ||||
If you notice an issue or an error occurs, you can re-run the Dry Run using the following command:
|
Tag and Increment Version
This step will set the version declared in the project's pom.xml files, commit the changes to trunk, tag the release, and finally, check in another trunk change that increments the next development version (e.g. x.y-SNAPSHOT) in the pom.xml files.
Code Block |
---|
mvn release:prepare -Dresume=false |
(Optionally, you may also include the parameters -Dusername=YourSVNUsername -Dpassword=YourSVNPassword
at the end of the above command, though I've not found these to be necessary)
...