diff --git a/maven-release-plugin/src/site/apt/examples/perform-release.apt.vm b/maven-release-plugin/src/site/apt/examples/perform-release.apt.vm index bb772cca2..27e6f4df2 100644 --- a/maven-release-plugin/src/site/apt/examples/perform-release.apt.vm +++ b/maven-release-plugin/src/site/apt/examples/perform-release.apt.vm @@ -46,6 +46,12 @@ mvn release:perform ------- mvn org.apache.maven.plugins:maven-release-plugin:${project.version}:perform -DconnectionUrl=scm:svn:https://svn.mycompany.com/repos/path/to/myproject/tags/myproject-1.2.3 +------- + + If you are using git the tag is passed a little bit differently: + +------- +mvn org.apache.maven.plugins:maven-release-plugin:${project.version}:perform -DconnectionUrl=scm:git:https://git.mycompany.com/repos/path/to/myproject -Dtag=myproject-1.2.3 ------- <<>> will fork a new Maven instance to build the checked-out project. This new Maven instance will use the