Cheatography
https://cheatography.com
Goals
versions:update-properties updates properties defined in a project so that they correspond to the latest available version of specific dependencies. This can be useful if a suite of dependencies must all be locked to one version.
|
versions:set -DnewVersion=1.0.1-SNAPSHOT can be used to set the project version from the command line.
|
versions:use-releases The use-releases goal will look at your project dependencies and see if any -SNAPSHOT versions have been released, replacing the -SNAPSHOT version with the corresponding release version.
|
versions:update-parent Note that, by default, -SNAPSHOT versions are ignored. You can force snapshots to be included with the allowSnapshots parameter:
|
versions:update-child-modules updates the parent section of the child modules of a project so the version matches the version of the current project. For example, if you have an aggregator pom that is also the parent for the projects that it aggregates and the children and parent versions get out of sync, this mojo can help fix the versions of the child modules.
|
versions:display-dependency-updates To get information about newer versions of dependencies that you are using in your build, just invoke the display-dependency-updates goal.
|
versions:display-property-updates To get information about newer versions of dependencies that you are using in your build, just invoke the display-property-updates goal.
|
versions:commit Removes pom.xml.backup files but does not actually commit sth. to SVN/GIT
|
versions:update-parent Sets the parent version to the latest parent version. -DallowSnapshots=true to include SNAPSHOTS
|
|
Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets