Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.5
-
None
-
online docs
Description
On the page
http://maven.apache.org/maven-release/maven-release-plugin/examples/perform-release.html
it states the following command to execute when specifying a tag as well:
mvn release:perform -DconnectionUrl=scm:svn:https://svn.apache.org/repos/asf/maven/plugins/tags/maven-release-plugin-2.0
IMHO, in most scenarios when doing this one would do this outside of the project and Maven would then use the version om m-release-p specified in the super-POM of the executing Maven. Which could be an old version (Maven 3.0.4 specifies v2.0 of m-release-p for example).
I suggest clearly explain this and also the command to use the latest version of the plugin, i.e.:
mvn org.apache.maven.plugins:maven-release-plugin:<VERSION>:perform -DconnectionUrl=scm:svn:https://svn.apache.org/repos/asf/maven/plugins/tags/maven-release-plugin-2.0