Author: pgier Date: Mon Sep 14 20:01:12 2009 New Revision: 814821 URL: http://svn.apache.org/viewvc?rev=814821&view=rev Log: [MRELEASE-324] Minor site fixes.
Modified: maven/release/trunk/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/UpdateVersionsMojo.java maven/release/trunk/maven-release-plugin/src/site/apt/examples/update-versions.apt maven/release/trunk/maven-release-plugin/src/site/apt/index.apt Modified: maven/release/trunk/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/UpdateVersionsMojo.java URL: http://svn.apache.org/viewvc/maven/release/trunk/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/UpdateVersionsMojo.java?rev=814821&r1=814820&r2=814821&view=diff ============================================================================== --- maven/release/trunk/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/UpdateVersionsMojo.java (original) +++ maven/release/trunk/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/UpdateVersionsMojo.java Mon Sep 14 20:01:12 2009 @@ -32,7 +32,7 @@ import org.apache.maven.shared.release.config.ReleaseUtils; /** - * Prepare for a release in SCM. + * Update the POM versions for a project. * * @author Paul Gier * @version $Id$ Modified: maven/release/trunk/maven-release-plugin/src/site/apt/examples/update-versions.apt URL: http://svn.apache.org/viewvc/maven/release/trunk/maven-release-plugin/src/site/apt/examples/update-versions.apt?rev=814821&r1=814820&r2=814821&view=diff ============================================================================== --- maven/release/trunk/maven-release-plugin/src/site/apt/examples/update-versions.apt (original) +++ maven/release/trunk/maven-release-plugin/src/site/apt/examples/update-versions.apt Mon Sep 14 20:01:12 2009 @@ -25,7 +25,7 @@ Updating POM Versions In some situations you may want an easy way to update the version numbers in each pom of a multi-module - project. The <<update-versions>> goal is designed to accomplish this. + project. The <<<update-versions>>> goal is designed to accomplish this. To update the version numbers in your POMs, run: @@ -34,7 +34,7 @@ ------- You will be prompted for the version number for each module of the project. If you prefer that each module - version be the same as the parent pom, you can use the option <<autoVersionSubmodules>>. + version be the same as the parent pom, you can use the option <<<autoVersionSubmodules>>>. ------- mvn release:update-versions -DautoVersionSubmodules=true @@ -46,7 +46,7 @@ * Specify versions on the command line. You may want to specify the version(s) to use on the command line. This can be useful for example if you are running - the update in non-interactive mode. The <<update-versions>> goal can use the same properties used by the prepare goal + the update in non-interactive mode. The <<<update-versions>>> goal can use the same properties used by the prepare goal for specifying the versions to be used. Modified: maven/release/trunk/maven-release-plugin/src/site/apt/index.apt URL: http://svn.apache.org/viewvc/maven/release/trunk/maven-release-plugin/src/site/apt/index.apt?rev=814821&r1=814820&r2=814821&view=diff ============================================================================== --- maven/release/trunk/maven-release-plugin/src/site/apt/index.apt (original) +++ maven/release/trunk/maven-release-plugin/src/site/apt/index.apt Mon Sep 14 20:01:12 2009 @@ -43,6 +43,8 @@ * {{{./branch-mojo.html}release:branch}} Create a branch of the current project with all versions updated. + * {{{./update-versions-mojo.html}release:udpate-versions}} Update the versions in the POM(s). + * Usage General instructions on how to use the Release Plugin can be found on the {{{./usage.html}usage page}}. Some more @@ -83,4 +85,6 @@ * {{{./examples/non-interactive-release.html}Non Interactive Release}} + * {{{./examples/update-versions.html}Update POM Versions}} + []