You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2012/05/08 13:38:15 UTC

svn commit: r816531 [21/30] - in /websites/production/maventest/content/plugins/maven-release-plugin-latest: ./ apidocs/ apidocs/org/apache/maven/plugins/release/ apidocs/org/apache/maven/plugins/release/class-use/ cobertura/ examples/ testapidocs/ tes...

Modified: websites/production/maventest/content/plugins/maven-release-plugin-latest/update-versions-mojo.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-release-plugin-latest/update-versions-mojo.html (original)
+++ websites/production/maventest/content/plugins/maven-release-plugin-latest/update-versions-mojo.html Tue May  8 11:38:11 2012
@@ -12,7 +12,8 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
-    <title>Maven Release plugin - release:update-versions</title>
+    <title>
+    release:update-versions</title>
     <style type="text/css" media="all">
       @import url("./css/maven-base.css");
       @import url("./css/maven-theme.css");
@@ -28,16 +29,16 @@
                     </head>
   <body class="composite">
     <div id="banner">
-                  <a href="http://maven.apache.org/" id="bannerLeft">
+                  <a href="../../" id="bannerLeft">
     
-                                    <img src="http://maven.apache.org/images/apache-maven-project-2.png" alt="" />
+                                            <img src="../../images/apache-maven-project-2.png" alt="" />
     
             </a>
-                        <a href="http://maven.apache.org/maven-release" id="bannerRight">
+                          <span id="bannerRight">
     
-                                    <img src="http://maven.apache.org/images/maven-logo-2.gif" alt="" />
+                                            <img src="../../images/maven-logo-2.gif" alt="" />
     
-            </a>
+            </span>
             <div class="clear">
         <hr/>
       </div>
@@ -56,13 +57,16 @@
                 <a href="http://www.apache.org/" class="externalLink">Apache</a>
                 &gt;
       
-                <a href="http://maven.apache.org/index.html" class="externalLink">Maven</a>
+                <a href="../../index.html">Maven</a>
+                &gt;
+      
+                <a href="../../maven-release/">Maven Release</a>
                 &gt;
       
-                <a href="http://maven.apache.org/plugins/index.html" class="externalLink">Plugins</a>
+                <a href="../index.html">Plugins</a>
                 &gt;
       
-                <a href="http://maven.apache.org/plugins/maven-release-plugin/index.html" class="externalLink">Maven Release Plugin</a>
+                <a href="index.html">Maven Release Plugin</a>
                   </div>
             <div class="xright">      
   
@@ -72,8 +76,8 @@
             
   
     
-             Last Published: 2010-10-04
-              &nbsp;| Version: 2.1
+             Last Published: 2011-06-27
+              &nbsp;| Version: 2.2
             </div>
       <div class="clear">
         <hr/>
@@ -93,65 +97,65 @@
             <ul>
               
     <li class="none">
-                    <a href="../Users/brett/scm/maven/release/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-release-plugin">Introduction</a>
+                    <a href="index.html">Introduction</a>
           </li>
               
     <li class="none">
-                    <a href="../Users/brett/scm/maven/release/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-release-plugin">Goals</a>
+                    <a href="plugin-info.html">Goals</a>
           </li>
               
     <li class="none">
-                    <a href="../Users/brett/scm/maven/release/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-release-plugin">Usage</a>
+                    <a href="usage.html">Usage</a>
           </li>
               
     <li class="none">
-                    <a href="../Users/brett/scm/maven/release/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-release-plugin">FAQ</a>
+                    <a href="faq.html">FAQ</a>
           </li>
           </ul>
               <h5>Examples</h5>
             <ul>
               
     <li class="none">
-                    <a href="../../Users/brett/scm/maven/release/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-release-plugin">Prepare a Release</a>
+                    <a href="examples/prepare-release.html">Prepare a Release</a>
           </li>
               
     <li class="none">
-                    <a href="../../Users/brett/scm/maven/release/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-release-plugin">Perform a Release</a>
+                    <a href="examples/perform-release.html">Perform a Release</a>
           </li>
               
     <li class="none">
-                    <a href="../../Users/brett/scm/maven/release/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-release-plugin">Rollback a Release</a>
+                    <a href="examples/rollback-release.html">Rollback a Release</a>
           </li>
               
     <li class="none">
-                    <a href="../../Users/brett/scm/maven/release/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-release-plugin">Clean a Release</a>
+                    <a href="examples/clean-release.html">Clean a Release</a>
           </li>
               
     <li class="none">
-                    <a href="../../Users/brett/scm/maven/release/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-release-plugin">Generate Release POMs</a>
+                    <a href="examples/generate-release-poms.html">Generate Release POMs</a>
           </li>
               
     <li class="none">
-                    <a href="../../Users/brett/scm/maven/release/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-release-plugin">Lock Files During Release</a>
+                    <a href="examples/lock-files.html">Lock Files During Release</a>
           </li>
               
     <li class="none">
-                    <a href="../../Users/brett/scm/maven/release/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-release-plugin">Run Additional Goals Before Commit</a>
+                    <a href="examples/run-goals-before-commit.html">Run Additional Goals Before Commit</a>
           </li>
               
     <li class="none">
-                    <a href="../../Users/brett/scm/maven/release/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-release-plugin">Create a Branch</a>
+                    <a href="examples/branch.html">Create a Branch</a>
           </li>
               
     <li class="none">
-                    <a href="../../Users/brett/scm/maven/release/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-release-plugin">Non-interactive Release</a>
+                    <a href="examples/non-interactive-release.html">Non-interactive Release</a>
           </li>
               
     <li class="none">
-                    <a href="../../Users/brett/scm/maven/release/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-release-plugin">Update POM Versions</a>
+                    <a href="examples/update-versions.html">Update POM Versions</a>
           </li>
           </ul>
-              <h5>Project Documentation</h5>
+                                  <h5>Project Documentation</h5>
             <ul>
               
                 
@@ -179,6 +183,8 @@
       
             
       
+            
+      
               
         <li class="collapsed">
                     <a href="project-info.html">Project Information</a>
@@ -216,47 +222,47 @@
             <ul>
               
     <li class="none">
-                    <a href="http://maven.apache.org/ant-tasks/index.html" class="externalLink">Ant Tasks</a>
+                    <a href="../../ant-tasks/index.html">Ant Tasks</a>
           </li>
               
     <li class="none">
-                    <a href="http://maven.apache.org/doxia/index.html" class="externalLink">Doxia</a>
+                    <a href="../../archetype/index.html">Archetype</a>
           </li>
               
     <li class="none">
-                    <a href="http://maven.apache.org/jxr/index.html" class="externalLink">JXR</a>
+                    <a href="../../doxia/index.html">Doxia</a>
           </li>
               
     <li class="none">
-                    <a href="http://maven.apache.org/maven-1.x/index.html" class="externalLink">Maven 1.x</a>
+                    <a href="../../jxr/index.html">JXR</a>
           </li>
               
     <li class="none">
-                    <a href="http://maven.apache.org/index.html" class="externalLink">Maven 2</a>
+                    <a href="../../maven-1.x/index.html">Maven 1.x</a>
           </li>
               
     <li class="none">
-                    <a href="http://maven.apache.org/mercury/index.html" class="externalLink">Mercury</a>
+                    <a href="../../index.html">Maven 2</a>
           </li>
               
     <li class="none">
-                    <a href="http://maven.apache.org/plugins/index.html" class="externalLink">Plugins</a>
+                    <a href="../index.html">Plugins</a>
           </li>
               
     <li class="none">
-                    <a href="http://maven.apache.org/scm/index.html" class="externalLink">SCM</a>
+                    <a href="../../scm/index.html">SCM</a>
           </li>
               
     <li class="none">
-                    <a href="http://maven.apache.org/shared/index.html" class="externalLink">Shared Components</a>
+                    <a href="../../shared/index.html">Shared Components</a>
           </li>
               
     <li class="none">
-                    <a href="http://maven.apache.org/surefire/index.html" class="externalLink">Surefire</a>
+                    <a href="../../surefire/index.html">Surefire</a>
           </li>
               
     <li class="none">
-                    <a href="http://maven.apache.org/wagon/index.html" class="externalLink">Wagon</a>
+                    <a href="../../wagon/index.html">Wagon</a>
           </li>
           </ul>
                                            <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
@@ -274,285 +280,338 @@
     </div>
     <div id="bodyColumn">
       <div id="contentBox">
-        <div class="section"><h2><a name="release:update-versions"></a>release:update-versions</h2>
-<p><strong>Full name</strong>:</p>
-<p>org.apache.maven.plugins:maven-release-plugin:2.1:update-versions</p>
-<p><strong>Description</strong>:</p>
-<div>Update the POM versions for a project. This performs the normal
+        
+  
+    <div class="section"><h2>release:update-versions<a name="release:update-versions"></a></h2>
+      <p><b>Full name</b>:</p>
+      <p>org.apache.maven.plugins:maven-release-plugin:2.2:update-versions</p>
+      <p><b>Description</b>:</p>
+      <div>Update the POM versions for a project. This performs the normal
 version updates of the <tt>release:prepare</tt> goal without making
 other modifications to the SCM such as tagging. For more info see
-<a href="http://maven.apache.org/plugins/maven-release-plugin/examples/update-versions.html" class="externalLink">
-http://maven.apache.org/plugins/maven-release-plugin/examples/update-versions.html</a>.</div><p><strong>Attributes</strong>:</p>
-<ul><li>Requires a Maven 2.0 project to be executed.</li>
-<li>Executes as an aggregator plugin.</li>
-<li>Since version: <code>2.0</code>.</li>
-</ul>
-<div class="section"><h3><a name="Optional_Parameters"></a>Optional Parameters</h3>
-<table class="bodyTable"><tr class="a"><th>Name</th>
-<th>Type</th>
-<th>Since</th>
-<th>Description</th>
-</tr>
-<tr class="b"><td><strong><a href="#addSchema">addSchema</a></strong></td>
-<td><code>boolean</code></td>
-<td><code>2.0</code></td>
-<td>Whether to add a schema to the POM if it was previously missing on
-release.<br />
-<strong>Default value is</strong>: <code>true</code>.</td>
-</tr>
-<tr class="a"><td><strong><a href="#arguments">arguments</a></strong></td>
-<td><code>String</code></td>
-<td><code>2.0</code></td>
-<td>Additional arguments to pass to the Maven executions, separated by
-spaces.<br />
-</td>
-</tr>
-<tr class="b"><td><strong><a href="#autoVersionSubmodules">autoVersionSubmodules</a></strong></td>
-<td><code>boolean</code></td>
-<td><code>2.0</code></td>
-<td>Whether to automatically assign submodules the parent version. If
+<a class="externalLink" href="http://maven.apache.org/plugins/maven-release-plugin/examples/update-versions.html">
+http://maven.apache.org/plugins/maven-release-plugin/examples/update-versions.html</a>.</div>
+      <p><b>Attributes</b>:</p>
+      <ul>
+        <li>Requires a Maven 2.0 project to be executed.</li>
+        <li>Executes as an aggregator plugin.</li>
+        <li>Since version: <tt>2.0</tt>.</li>
+      </ul>
+      <div class="section"><h3>Optional Parameters<a name="Optional_Parameters"></a></h3>
+        <table class="bodyTable" border="0" align="left">
+          <tr class="a">
+            <th>Name</th>
+            <th>Type</th>
+            <th>Since</th>
+            <th>Description</th>
+          </tr>
+          <tr class="b">
+            <td><b><a href="#addSchema">addSchema</a></b></td>
+            <td><tt>boolean</tt></td>
+            <td><tt>2.0</tt></td>
+            <td>Whether to add a schema to the POM if it was previously missing on
+release.<br /><b>Default value is</b>: <tt>true</tt>.</td>
+          </tr>
+          <tr class="a">
+            <td><b><a href="#arguments">arguments</a></b></td>
+            <td><tt>String</tt></td>
+            <td><tt>2.0</tt></td>
+            <td>Additional arguments to pass to the Maven executions, separated by
+spaces.<br /></td>
+          </tr>
+          <tr class="b">
+            <td><b><a href="#autoVersionSubmodules">autoVersionSubmodules</a></b></td>
+            <td><tt>boolean</tt></td>
+            <td><tt>2.0</tt></td>
+            <td>Whether to automatically assign submodules the parent version. If
 set to false, the user will be prompted for the version of each
-submodules.<br />
-<strong>Default value is</strong>: <code>false</code>.</td>
-</tr>
-<tr class="a"><td><strong><a href="#developmentVersion">developmentVersion</a></strong></td>
-<td><code>String</code></td>
-<td><code>2.0</code></td>
-<td>Default version to use for new local working copy.<br />
-</td>
-</tr>
-<tr class="b"><td><strong><a href="#javaHome">javaHome</a></strong></td>
-<td><code>File</code></td>
-<td><code>2.0-beta-8</code></td>
-<td>The JAVA_HOME parameter to use for forked Maven invocations.<br />
-<strong>Default value is</strong>: <code>${java.home}</code>.</td>
-</tr>
-<tr class="a"><td><strong><a href="#localCheckout">localCheckout</a></strong></td>
-<td><code>boolean</code></td>
-<td><code>2.0</code></td>
-<td>Use a local checkout instead of doing a checkout from the upstream
+submodules.<br /><b>Default value is</b>: <tt>false</tt>.</td>
+          </tr>
+          <tr class="a">
+            <td><b><a href="#developmentVersion">developmentVersion</a></b></td>
+            <td><tt>String</tt></td>
+            <td><tt>2.0</tt></td>
+            <td>Default version to use for new local working copy.<br /></td>
+          </tr>
+          <tr class="b">
+            <td><b><a href="#javaHome">javaHome</a></b></td>
+            <td><tt>File</tt></td>
+            <td><tt>2.0-beta-8</tt></td>
+            <td>The JAVA_HOME parameter to use for forked Maven invocations.<br /><b>Default value is</b>: <tt>${java.home}</tt>.</td>
+          </tr>
+          <tr class="a">
+            <td><b><a href="#localCheckout">localCheckout</a></b></td>
+            <td><tt>boolean</tt></td>
+            <td><tt>2.0</tt></td>
+            <td>Use a local checkout instead of doing a checkout from the upstream
 repository. ATTENTION: This will only work with distributed SCMs
 which support the file:// protocol like e.g. git, jgit or hg! TODO:
 we should think about having the defaults for the various SCM
-providers provided via modello!<br />
-<strong>Default value is</strong>: <code>false</code>.</td>
-</tr>
-<tr class="b"><td><strong><a href="#localRepoDirectory">localRepoDirectory</a></strong></td>
-<td><code>File</code></td>
-<td><code>2.0-beta-8</code></td>
-<td>The command-line local repository directory in use for this build
-(if specified).<br />
-<strong>Default value is</strong>: <code>${maven.repo.local}</code>.</td>
-</tr>
-<tr class="a"><td><strong><a href="#mavenExecutorId">mavenExecutorId</a></strong></td>
-<td><code>String</code></td>
-<td><code>2.0-beta-8</code></td>
-<td>Role hint of the <code>MavenExecutor</code> implementation to use.<br />
-<strong>Default value is</strong>: <code>invoker</code>.</td>
-</tr>
-<tr class="b"><td><strong><a href="#mavenHome">mavenHome</a></strong></td>
-<td><code>File</code></td>
-<td><code>2.0-beta-8</code></td>
-<td>The M2_HOME parameter to use for forked Maven invocations.<br />
-<strong>Default value is</strong>: <code>${maven.home}</code>.</td>
-</tr>
-<tr class="a"><td><strong><a href="#password">password</a></strong></td>
-<td><code>String</code></td>
-<td><code>2.0</code></td>
-<td>The SCM password to use.<br />
-</td>
-</tr>
-<tr class="b"><td><strong><a href="#pomFileName">pomFileName</a></strong></td>
-<td><code>String</code></td>
-<td><code>2.0</code></td>
-<td>The file name of the POM to execute any goals against.<br />
-</td>
-</tr>
-<tr class="a"><td><strong><a href="#providerImplementations">providerImplementations</a></strong></td>
-<td><code>Map</code></td>
-<td><code>2.0-beta-6</code></td>
-<td>List of provider implementations.<br />
-</td>
-</tr>
-<tr class="b"><td><strong><a href="#pushChanges">pushChanges</a></strong></td>
-<td><code>boolean</code></td>
-<td><code>2.1</code></td>
-<td>Implemented with git will or not push changes to the upstream
-repository. <code>true</code> by default to preserve backward
-compatibility.<br />
-<strong>Default value is</strong>: <code>true</code>.</td>
-</tr>
-<tr class="a"><td><strong><a href="#scmCommentPrefix">scmCommentPrefix</a></strong></td>
-<td><code>String</code></td>
-<td><code>2.0-beta-5</code></td>
-<td>The message prefix to use for all SCM changes.<br />
-<strong>Default value is</strong>: <code>[maven-release-plugin] </code>.</td>
-</tr>
-<tr class="b"><td><strong><a href="#tag">tag</a></strong></td>
-<td><code>String</code></td>
-<td><code>2.0</code></td>
-<td>The SCM tag to use.<br />
-</td>
-</tr>
-<tr class="a"><td><strong><a href="#tagBase">tagBase</a></strong></td>
-<td><code>String</code></td>
-<td><code>2.0</code></td>
-<td>The tag base directory in SVN, you must define it if you don't use
+providers provided via modello!<br /><b>Default value is</b>: <tt>false</tt>.</td>
+          </tr>
+          <tr class="b">
+            <td><b><a href="#localRepoDirectory">localRepoDirectory</a></b></td>
+            <td><tt>File</tt></td>
+            <td><tt>2.0-beta-8</tt></td>
+            <td>The command-line local repository directory in use for this build
+(if specified).<br /><b>Default value is</b>: <tt>${maven.repo.local}</tt>.</td>
+          </tr>
+          <tr class="a">
+            <td><b><a href="#mavenExecutorId">mavenExecutorId</a></b></td>
+            <td><tt>String</tt></td>
+            <td><tt>2.0-beta-8</tt></td>
+            <td>Role hint of the <tt>MavenExecutor</tt> implementation to use.<br /><b>Default value is</b>: <tt>invoker</tt>.</td>
+          </tr>
+          <tr class="b">
+            <td><b><a href="#mavenHome">mavenHome</a></b></td>
+            <td><tt>File</tt></td>
+            <td><tt>2.0-beta-8</tt></td>
+            <td>The M2_HOME parameter to use for forked Maven invocations.<br /><b>Default value is</b>: <tt>${maven.home}</tt>.</td>
+          </tr>
+          <tr class="a">
+            <td><b><a href="#password">password</a></b></td>
+            <td><tt>String</tt></td>
+            <td><tt>2.0</tt></td>
+            <td>The SCM password to use.<br /></td>
+          </tr>
+          <tr class="b">
+            <td><b><a href="#pomFileName">pomFileName</a></b></td>
+            <td><tt>String</tt></td>
+            <td><tt>2.0</tt></td>
+            <td>The file name of the POM to execute any goals against.<br /></td>
+          </tr>
+          <tr class="a">
+            <td><b><a href="#providerImplementations">providerImplementations</a></b></td>
+            <td><tt>Map</tt></td>
+            <td><tt>2.0-beta-6</tt></td>
+            <td>List of provider implementations.<br /></td>
+          </tr>
+          <tr class="b">
+            <td><b><a href="#pushChanges">pushChanges</a></b></td>
+            <td><tt>boolean</tt></td>
+            <td><tt>2.1</tt></td>
+            <td>Implemented with git will or not push changes to the upstream
+repository. <tt>true</tt> by default to preserve backward
+compatibility.<br /><b>Default value is</b>: <tt>true</tt>.</td>
+          </tr>
+          <tr class="a">
+            <td><b><a href="#scmCommentPrefix">scmCommentPrefix</a></b></td>
+            <td><tt>String</tt></td>
+            <td><tt>2.0-beta-5</tt></td>
+            <td>The message prefix to use for all SCM changes.<br /><b>Default value is</b>: <tt>[maven-release-plugin] </tt>.</td>
+          </tr>
+          <tr class="b">
+            <td><b><a href="#tag">tag</a></b></td>
+            <td><tt>String</tt></td>
+            <td><tt>2.0</tt></td>
+            <td>The SCM tag to use.<br /></td>
+          </tr>
+          <tr class="a">
+            <td><b><a href="#tagBase">tagBase</a></b></td>
+            <td><tt>String</tt></td>
+            <td><tt>2.0</tt></td>
+            <td>The tag base directory in SVN, you must define it if you don't use
 the standard svn layout (trunk/tags/branches). For example,
-<code>http://svn.apache.org/repos/asf/maven/plugins/tags</code>.
+<tt>http://svn.apache.org/repos/asf/maven/plugins/tags</tt>.
 The URL is an SVN URL and does not include the SCM provider and
-protocol.<br />
-</td>
-</tr>
-<tr class="b"><td><strong><a href="#username">username</a></strong></td>
-<td><code>String</code></td>
-<td><code>2.0</code></td>
-<td>The SCM username to use.<br />
-</td>
-</tr>
-</table>
-</div>
-<div class="section"><h3><a name="Parameter_Details"></a>Parameter Details</h3>
-<p><strong><a name="addSchema">addSchema</a>:</strong></p>
-<div>Whether to add a schema to the POM if it was previously missing on
-release.</div><ul><li><strong>Type</strong>: <code>boolean</code></li>
-<li><strong>Since</strong>: <code>2.0</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Expression</strong>: <code>${addSchema}</code></li>
-<li><strong>Default</strong>: <code>true</code></li>
-</ul>
-<hr />
-<p><strong><a name="arguments">arguments</a>:</strong></p>
-<div>Additional arguments to pass to the Maven executions, separated by
-spaces.</div><ul><li><strong>Type</strong>: <code>java.lang.String</code></li>
-<li><strong>Since</strong>: <code>2.0</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Expression</strong>: <code>${arguments}</code></li>
-</ul>
-<hr />
-<p><strong><a name="autoVersionSubmodules">autoVersionSubmodules</a>:</strong></p>
-<div>Whether to automatically assign submodules the parent version. If
+protocol.<br /></td>
+          </tr>
+          <tr class="b">
+            <td><b><a href="#tagNameFormat">tagNameFormat</a></b></td>
+            <td><tt>String</tt></td>
+            <td><tt>2.2.0</tt></td>
+            <td>Format to use when generating the tag name if none is specified.
+Property interpolation is performed on the tag, but in order to
+ensure that the interpolation occurs during release, you must use
+<tt>@{...}</tt> to reference the properties rather than
+<tt>${...}</tt>. The following properties are available: 
+
+<ul>
+<li><tt>groupId</tt> or <tt>project.groupId</tt> - The
+groupId of the root project.</li>
+
+<li><tt>artifactId</tt> or <tt>project.artifactId</tt> -
+The artifactId of the root project.</li>
+
+<li><tt>version</tt> or <tt>project.version</tt> - The
+release version of the root project.</li>
+</ul><br /><b>Default value is</b>: <tt>@{project.artifactId}-@{project.version}</tt>.</td>
+          </tr>
+          <tr class="a">
+            <td><b><a href="#username">username</a></b></td>
+            <td><tt>String</tt></td>
+            <td><tt>2.0</tt></td>
+            <td>The SCM username to use.<br /></td>
+          </tr>
+        </table>
+      </div>
+      <div class="section"><h3>Parameter Details<a name="Parameter_Details"></a></h3>
+        <p><b><a name="addSchema">addSchema</a>:</b></p>
+        <div>Whether to add a schema to the POM if it was previously missing on
+release.</div>
+        <ul>
+          <li><b>Type</b>: <tt>boolean</tt></li>
+          <li><b>Since</b>: <tt>2.0</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>Expression</b>: <tt>${addSchema}</tt></li>
+          <li><b>Default</b>: <tt>true</tt></li>
+        </ul><hr /><p><b><a name="arguments">arguments</a>:</b></p>
+        <div>Additional arguments to pass to the Maven executions, separated by
+spaces.</div>
+        <ul>
+          <li><b>Type</b>: <tt>java.lang.String</tt></li>
+          <li><b>Since</b>: <tt>2.0</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>Expression</b>: <tt>${arguments}</tt></li>
+        </ul><hr /><p><b><a name="autoVersionSubmodules">autoVersionSubmodules</a>:</b></p>
+        <div>Whether to automatically assign submodules the parent version. If
 set to false, the user will be prompted for the version of each
-submodules.</div><ul><li><strong>Type</strong>: <code>boolean</code></li>
-<li><strong>Since</strong>: <code>2.0</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Expression</strong>: <code>${autoVersionSubmodules}</code></li>
-<li><strong>Default</strong>: <code>false</code></li>
-</ul>
-<hr />
-<p><strong><a name="developmentVersion">developmentVersion</a>:</strong></p>
-<div>Default version to use for new local working copy.</div><ul><li><strong>Type</strong>: <code>java.lang.String</code></li>
-<li><strong>Since</strong>: <code>2.0</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Expression</strong>: <code>${developmentVersion}</code></li>
-</ul>
-<hr />
-<p><strong><a name="javaHome">javaHome</a>:</strong></p>
-<div>The JAVA_HOME parameter to use for forked Maven invocations.</div><ul><li><strong>Type</strong>: <code>java.io.File</code></li>
-<li><strong>Since</strong>: <code>2.0-beta-8</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Default</strong>: <code>${java.home}</code></li>
-</ul>
-<hr />
-<p><strong><a name="localCheckout">localCheckout</a>:</strong></p>
-<div>Use a local checkout instead of doing a checkout from the upstream
+submodules.</div>
+        <ul>
+          <li><b>Type</b>: <tt>boolean</tt></li>
+          <li><b>Since</b>: <tt>2.0</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>Expression</b>: <tt>${autoVersionSubmodules}</tt></li>
+          <li><b>Default</b>: <tt>false</tt></li>
+        </ul><hr /><p><b><a name="developmentVersion">developmentVersion</a>:</b></p>
+        <div>Default version to use for new local working copy.</div>
+        <ul>
+          <li><b>Type</b>: <tt>java.lang.String</tt></li>
+          <li><b>Since</b>: <tt>2.0</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>Expression</b>: <tt>${developmentVersion}</tt></li>
+        </ul><hr /><p><b><a name="javaHome">javaHome</a>:</b></p>
+        <div>The JAVA_HOME parameter to use for forked Maven invocations.</div>
+        <ul>
+          <li><b>Type</b>: <tt>java.io.File</tt></li>
+          <li><b>Since</b>: <tt>2.0-beta-8</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>Default</b>: <tt>${java.home}</tt></li>
+        </ul><hr /><p><b><a name="localCheckout">localCheckout</a>:</b></p>
+        <div>Use a local checkout instead of doing a checkout from the upstream
 repository. ATTENTION: This will only work with distributed SCMs
 which support the file:// protocol like e.g. git, jgit or hg! TODO:
 we should think about having the defaults for the various SCM
-providers provided via modello!</div><ul><li><strong>Type</strong>: <code>boolean</code></li>
-<li><strong>Since</strong>: <code>2.0</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Expression</strong>: <code>${localCheckout}</code></li>
-<li><strong>Default</strong>: <code>false</code></li>
-</ul>
-<hr />
-<p><strong><a name="localRepoDirectory">localRepoDirectory</a>:</strong></p>
-<div>The command-line local repository directory in use for this build
-(if specified).</div><ul><li><strong>Type</strong>: <code>java.io.File</code></li>
-<li><strong>Since</strong>: <code>2.0-beta-8</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Default</strong>: <code>${maven.repo.local}</code></li>
-</ul>
-<hr />
-<p><strong><a name="mavenExecutorId">mavenExecutorId</a>:</strong></p>
-<div>Role hint of the <code>MavenExecutor</code> implementation to use.</div><ul><li><strong>Type</strong>: <code>java.lang.String</code></li>
-<li><strong>Since</strong>: <code>2.0-beta-8</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Expression</strong>: <code>${mavenExecutorId}</code></li>
-<li><strong>Default</strong>: <code>invoker</code></li>
-</ul>
-<hr />
-<p><strong><a name="mavenHome">mavenHome</a>:</strong></p>
-<div>The M2_HOME parameter to use for forked Maven invocations.</div><ul><li><strong>Type</strong>: <code>java.io.File</code></li>
-<li><strong>Since</strong>: <code>2.0-beta-8</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Default</strong>: <code>${maven.home}</code></li>
-</ul>
-<hr />
-<p><strong><a name="password">password</a>:</strong></p>
-<div>The SCM password to use.</div><ul><li><strong>Type</strong>: <code>java.lang.String</code></li>
-<li><strong>Since</strong>: <code>2.0</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Expression</strong>: <code>${password}</code></li>
-</ul>
-<hr />
-<p><strong><a name="pomFileName">pomFileName</a>:</strong></p>
-<div>The file name of the POM to execute any goals against.</div><ul><li><strong>Type</strong>: <code>java.lang.String</code></li>
-<li><strong>Since</strong>: <code>2.0</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Expression</strong>: <code>${pomFileName}</code></li>
-</ul>
-<hr />
-<p><strong><a name="providerImplementations">providerImplementations</a>:</strong></p>
-<div>List of provider implementations.</div><ul><li><strong>Type</strong>: <code>java.util.Map</code></li>
-<li><strong>Since</strong>: <code>2.0-beta-6</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-</ul>
-<hr />
-<p><strong><a name="pushChanges">pushChanges</a>:</strong></p>
-<div>Implemented with git will or not push changes to the upstream
-repository. <code>true</code> by default to preserve backward
-compatibility.</div><ul><li><strong>Type</strong>: <code>boolean</code></li>
-<li><strong>Since</strong>: <code>2.1</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Expression</strong>: <code>${pushChanges}</code></li>
-<li><strong>Default</strong>: <code>true</code></li>
-</ul>
-<hr />
-<p><strong><a name="scmCommentPrefix">scmCommentPrefix</a>:</strong></p>
-<div>The message prefix to use for all SCM changes.</div><ul><li><strong>Type</strong>: <code>java.lang.String</code></li>
-<li><strong>Since</strong>: <code>2.0-beta-5</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Expression</strong>: <code>${scmCommentPrefix}</code></li>
-<li><strong>Default</strong>: <code>[maven-release-plugin] </code></li>
-</ul>
-<hr />
-<p><strong><a name="tag">tag</a>:</strong></p>
-<div>The SCM tag to use.</div><ul><li><strong>Type</strong>: <code>java.lang.String</code></li>
-<li><strong>Since</strong>: <code>2.0</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Expression</strong>: <code>${tag}</code></li>
-</ul>
-<hr />
-<p><strong><a name="tagBase">tagBase</a>:</strong></p>
-<div>The tag base directory in SVN, you must define it if you don't use
+providers provided via modello!</div>
+        <ul>
+          <li><b>Type</b>: <tt>boolean</tt></li>
+          <li><b>Since</b>: <tt>2.0</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>Expression</b>: <tt>${localCheckout}</tt></li>
+          <li><b>Default</b>: <tt>false</tt></li>
+        </ul><hr /><p><b><a name="localRepoDirectory">localRepoDirectory</a>:</b></p>
+        <div>The command-line local repository directory in use for this build
+(if specified).</div>
+        <ul>
+          <li><b>Type</b>: <tt>java.io.File</tt></li>
+          <li><b>Since</b>: <tt>2.0-beta-8</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>Default</b>: <tt>${maven.repo.local}</tt></li>
+        </ul><hr /><p><b><a name="mavenExecutorId">mavenExecutorId</a>:</b></p>
+        <div>Role hint of the <tt>MavenExecutor</tt> implementation to use.</div>
+        <ul>
+          <li><b>Type</b>: <tt>java.lang.String</tt></li>
+          <li><b>Since</b>: <tt>2.0-beta-8</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>Expression</b>: <tt>${mavenExecutorId}</tt></li>
+          <li><b>Default</b>: <tt>invoker</tt></li>
+        </ul><hr /><p><b><a name="mavenHome">mavenHome</a>:</b></p>
+        <div>The M2_HOME parameter to use for forked Maven invocations.</div>
+        <ul>
+          <li><b>Type</b>: <tt>java.io.File</tt></li>
+          <li><b>Since</b>: <tt>2.0-beta-8</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>Default</b>: <tt>${maven.home}</tt></li>
+        </ul><hr /><p><b><a name="password">password</a>:</b></p>
+        <div>The SCM password to use.</div>
+        <ul>
+          <li><b>Type</b>: <tt>java.lang.String</tt></li>
+          <li><b>Since</b>: <tt>2.0</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>Expression</b>: <tt>${password}</tt></li>
+        </ul><hr /><p><b><a name="pomFileName">pomFileName</a>:</b></p>
+        <div>The file name of the POM to execute any goals against.</div>
+        <ul>
+          <li><b>Type</b>: <tt>java.lang.String</tt></li>
+          <li><b>Since</b>: <tt>2.0</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>Expression</b>: <tt>${pomFileName}</tt></li>
+        </ul><hr /><p><b><a name="providerImplementations">providerImplementations</a>:</b></p>
+        <div>List of provider implementations.</div>
+        <ul>
+          <li><b>Type</b>: <tt>java.util.Map</tt></li>
+          <li><b>Since</b>: <tt>2.0-beta-6</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+        </ul><hr /><p><b><a name="pushChanges">pushChanges</a>:</b></p>
+        <div>Implemented with git will or not push changes to the upstream
+repository. <tt>true</tt> by default to preserve backward
+compatibility.</div>
+        <ul>
+          <li><b>Type</b>: <tt>boolean</tt></li>
+          <li><b>Since</b>: <tt>2.1</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>Expression</b>: <tt>${pushChanges}</tt></li>
+          <li><b>Default</b>: <tt>true</tt></li>
+        </ul><hr /><p><b><a name="scmCommentPrefix">scmCommentPrefix</a>:</b></p>
+        <div>The message prefix to use for all SCM changes.</div>
+        <ul>
+          <li><b>Type</b>: <tt>java.lang.String</tt></li>
+          <li><b>Since</b>: <tt>2.0-beta-5</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>Expression</b>: <tt>${scmCommentPrefix}</tt></li>
+          <li><b>Default</b>: <tt>[maven-release-plugin] </tt></li>
+        </ul><hr /><p><b><a name="tag">tag</a>:</b></p>
+        <div>The SCM tag to use.</div>
+        <ul>
+          <li><b>Type</b>: <tt>java.lang.String</tt></li>
+          <li><b>Since</b>: <tt>2.0</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>Expression</b>: <tt>${tag}</tt></li>
+        </ul><hr /><p><b><a name="tagBase">tagBase</a>:</b></p>
+        <div>The tag base directory in SVN, you must define it if you don't use
 the standard svn layout (trunk/tags/branches). For example,
-<code>http://svn.apache.org/repos/asf/maven/plugins/tags</code>.
+<tt>http://svn.apache.org/repos/asf/maven/plugins/tags</tt>.
 The URL is an SVN URL and does not include the SCM provider and
-protocol.</div><ul><li><strong>Type</strong>: <code>java.lang.String</code></li>
-<li><strong>Since</strong>: <code>2.0</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Expression</strong>: <code>${tagBase}</code></li>
-</ul>
-<hr />
-<p><strong><a name="username">username</a>:</strong></p>
-<div>The SCM username to use.</div><ul><li><strong>Type</strong>: <code>java.lang.String</code></li>
-<li><strong>Since</strong>: <code>2.0</code></li>
-<li><strong>Required</strong>: <code>No</code></li>
-<li><strong>Expression</strong>: <code>${username}</code></li>
-</ul>
-</div>
-</div>
+protocol.</div>
+        <ul>
+          <li><b>Type</b>: <tt>java.lang.String</tt></li>
+          <li><b>Since</b>: <tt>2.0</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>Expression</b>: <tt>${tagBase}</tt></li>
+        </ul><hr /><p><b><a name="tagNameFormat">tagNameFormat</a>:</b></p>
+        <div>Format to use when generating the tag name if none is specified.
+Property interpolation is performed on the tag, but in order to
+ensure that the interpolation occurs during release, you must use
+<tt>@{...}</tt> to reference the properties rather than
+<tt>${...}</tt>. The following properties are available: 
+
+<ul>
+<li><tt>groupId</tt> or <tt>project.groupId</tt> - The
+groupId of the root project.</li>
+
+<li><tt>artifactId</tt> or <tt>project.artifactId</tt> -
+The artifactId of the root project.</li>
+
+<li><tt>version</tt> or <tt>project.version</tt> - The
+release version of the root project.</li>
+</ul></div>
+        <ul>
+          <li><b>Type</b>: <tt>java.lang.String</tt></li>
+          <li><b>Since</b>: <tt>2.2.0</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>Expression</b>: <tt>${tagNameFormat}</tt></li>
+          <li><b>Default</b>: <tt>@{project.artifactId}-@{project.version}</tt></li>
+        </ul><hr /><p><b><a name="username">username</a>:</b></p>
+        <div>The SCM username to use.</div>
+        <ul>
+          <li><b>Type</b>: <tt>java.lang.String</tt></li>
+          <li><b>Since</b>: <tt>2.0</tt></li>
+          <li><b>Required</b>: <tt>No</tt></li>
+          <li><b>Expression</b>: <tt>${username}</tt></li>
+        </ul>
+      </div>
+    </div>
+  
 
       </div>
     </div>
@@ -561,7 +620,7 @@ protocol.</div><ul><li><strong>Type</str
     </div>
     <div id="footer">
       <div class="xright">&#169;  
-          2002-2010
+          2002-2011
     
           The Apache Software Foundation
           

Modified: websites/production/maventest/content/plugins/maven-release-plugin-latest/usage.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-release-plugin-latest/usage.html (original)
+++ websites/production/maventest/content/plugins/maven-release-plugin-latest/usage.html Tue May  8 11:38:11 2012
@@ -12,7 +12,7 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
-    <title>Maven Release plugin - Usage</title>
+    <title>Usage</title>
     <style type="text/css" media="all">
       @import url("./css/maven-base.css");
       @import url("./css/maven-theme.css");
@@ -31,16 +31,16 @@ John Tolentino jtolentino@apache.org" />
                     </head>
   <body class="composite">
     <div id="banner">
-                  <a href="http://maven.apache.org/" id="bannerLeft">
+                  <a href="../../" id="bannerLeft">
     
-                                    <img src="http://maven.apache.org/images/apache-maven-project-2.png" alt="" />
+                                            <img src="../../images/apache-maven-project-2.png" alt="" />
     
             </a>
-                        <a href="http://maven.apache.org/maven-release" id="bannerRight">
+                          <span id="bannerRight">
     
-                                    <img src="http://maven.apache.org/images/maven-logo-2.gif" alt="" />
+                                            <img src="../../images/maven-logo-2.gif" alt="" />
     
-            </a>
+            </span>
             <div class="clear">
         <hr/>
       </div>
@@ -59,13 +59,16 @@ John Tolentino jtolentino@apache.org" />
                 <a href="http://www.apache.org/" class="externalLink">Apache</a>
                 &gt;
       
-                <a href="http://maven.apache.org/index.html" class="externalLink">Maven</a>
+                <a href="../../index.html">Maven</a>
+                &gt;
+      
+                <a href="../../maven-release/">Maven Release</a>
                 &gt;
       
-                <a href="http://maven.apache.org/plugins/index.html" class="externalLink">Plugins</a>
+                <a href="../index.html">Plugins</a>
                 &gt;
       
-                <a href="http://maven.apache.org/plugins/maven-release-plugin/index.html" class="externalLink">Maven Release Plugin</a>
+                <a href="index.html">Maven Release Plugin</a>
                   </div>
             <div class="xright">      
   
@@ -75,8 +78,8 @@ John Tolentino jtolentino@apache.org" />
             
   
     
-             Last Published: 2010-10-04
-              &nbsp;| Version: 2.1
+             Last Published: 2011-06-27
+              &nbsp;| Version: 2.2
             </div>
       <div class="clear">
         <hr/>
@@ -96,65 +99,65 @@ John Tolentino jtolentino@apache.org" />
             <ul>
               
     <li class="none">
-                    <a href="../Users/brett/scm/maven/release/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-release-plugin">Introduction</a>
+                    <a href="index.html">Introduction</a>
           </li>
               
     <li class="none">
-                    <a href="../Users/brett/scm/maven/release/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-release-plugin">Goals</a>
+                    <a href="plugin-info.html">Goals</a>
           </li>
               
     <li class="none">
-                    <a href="../Users/brett/scm/maven/release/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-release-plugin">Usage</a>
-          </li>
+              <strong>Usage</strong>
+        </li>
               
     <li class="none">
-                    <a href="../Users/brett/scm/maven/release/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-release-plugin">FAQ</a>
+                    <a href="faq.html">FAQ</a>
           </li>
           </ul>
               <h5>Examples</h5>
             <ul>
               
     <li class="none">
-                    <a href="../../Users/brett/scm/maven/release/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-release-plugin">Prepare a Release</a>
+                    <a href="examples/prepare-release.html">Prepare a Release</a>
           </li>
               
     <li class="none">
-                    <a href="../../Users/brett/scm/maven/release/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-release-plugin">Perform a Release</a>
+                    <a href="examples/perform-release.html">Perform a Release</a>
           </li>
               
     <li class="none">
-                    <a href="../../Users/brett/scm/maven/release/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-release-plugin">Rollback a Release</a>
+                    <a href="examples/rollback-release.html">Rollback a Release</a>
           </li>
               
     <li class="none">
-                    <a href="../../Users/brett/scm/maven/release/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-release-plugin">Clean a Release</a>
+                    <a href="examples/clean-release.html">Clean a Release</a>
           </li>
               
     <li class="none">
-                    <a href="../../Users/brett/scm/maven/release/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-release-plugin">Generate Release POMs</a>
+                    <a href="examples/generate-release-poms.html">Generate Release POMs</a>
           </li>
               
     <li class="none">
-                    <a href="../../Users/brett/scm/maven/release/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-release-plugin">Lock Files During Release</a>
+                    <a href="examples/lock-files.html">Lock Files During Release</a>
           </li>
               
     <li class="none">
-                    <a href="../../Users/brett/scm/maven/release/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-release-plugin">Run Additional Goals Before Commit</a>
+                    <a href="examples/run-goals-before-commit.html">Run Additional Goals Before Commit</a>
           </li>
               
     <li class="none">
-                    <a href="../../Users/brett/scm/maven/release/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-release-plugin">Create a Branch</a>
+                    <a href="examples/branch.html">Create a Branch</a>
           </li>
               
     <li class="none">
-                    <a href="../../Users/brett/scm/maven/release/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-release-plugin">Non-interactive Release</a>
+                    <a href="examples/non-interactive-release.html">Non-interactive Release</a>
           </li>
               
     <li class="none">
-                    <a href="../../Users/brett/scm/maven/release/target/checkout/../../../../../people.apache.org/www/maven.apache.org/plugins/maven-release-plugin">Update POM Versions</a>
+                    <a href="examples/update-versions.html">Update POM Versions</a>
           </li>
           </ul>
-              <h5>Project Documentation</h5>
+                                  <h5>Project Documentation</h5>
             <ul>
               
                 
@@ -182,6 +185,8 @@ John Tolentino jtolentino@apache.org" />
       
             
       
+            
+      
               
         <li class="collapsed">
                     <a href="project-info.html">Project Information</a>
@@ -219,47 +224,47 @@ John Tolentino jtolentino@apache.org" />
             <ul>
               
     <li class="none">
-                    <a href="http://maven.apache.org/ant-tasks/index.html" class="externalLink">Ant Tasks</a>
+                    <a href="../../ant-tasks/index.html">Ant Tasks</a>
           </li>
               
     <li class="none">
-                    <a href="http://maven.apache.org/doxia/index.html" class="externalLink">Doxia</a>
+                    <a href="../../archetype/index.html">Archetype</a>
           </li>
               
     <li class="none">
-                    <a href="http://maven.apache.org/jxr/index.html" class="externalLink">JXR</a>
+                    <a href="../../doxia/index.html">Doxia</a>
           </li>
               
     <li class="none">
-                    <a href="http://maven.apache.org/maven-1.x/index.html" class="externalLink">Maven 1.x</a>
+                    <a href="../../jxr/index.html">JXR</a>
           </li>
               
     <li class="none">
-                    <a href="http://maven.apache.org/index.html" class="externalLink">Maven 2</a>
+                    <a href="../../maven-1.x/index.html">Maven 1.x</a>
           </li>
               
     <li class="none">
-                    <a href="http://maven.apache.org/mercury/index.html" class="externalLink">Mercury</a>
+                    <a href="../../index.html">Maven 2</a>
           </li>
               
     <li class="none">
-                    <a href="http://maven.apache.org/plugins/index.html" class="externalLink">Plugins</a>
+                    <a href="../index.html">Plugins</a>
           </li>
               
     <li class="none">
-                    <a href="http://maven.apache.org/scm/index.html" class="externalLink">SCM</a>
+                    <a href="../../scm/index.html">SCM</a>
           </li>
               
     <li class="none">
-                    <a href="http://maven.apache.org/shared/index.html" class="externalLink">Shared Components</a>
+                    <a href="../../shared/index.html">Shared Components</a>
           </li>
               
     <li class="none">
-                    <a href="http://maven.apache.org/surefire/index.html" class="externalLink">Surefire</a>
+                    <a href="../../surefire/index.html">Surefire</a>
           </li>
               
     <li class="none">
-                    <a href="http://maven.apache.org/wagon/index.html" class="externalLink">Wagon</a>
+                    <a href="../../wagon/index.html">Wagon</a>
           </li>
           </ul>
                                            <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
@@ -277,16 +282,7 @@ John Tolentino jtolentino@apache.org" />
     </div>
     <div id="bodyColumn">
       <div id="contentBox">
-        <div class="section"><h2>Usage</h2>
-<p>The following are some common scenarios in preparing a release.</p>
-<div class="section"><h3>Use a different username in the SCM server than the one in the operating system</h3>
-<p>Most of the SCMs are simply executed as an external command as the current user on your system. If this username is not the same as the SCM username, you may need to set the following option:</p>
-<div class="source"><pre>mvn -Dusername=your_scm_username release:prepare</pre>
-</div>
-</div>
-<div class="section"><h3>Set where to tag the files in Subversion</h3>
-<p>This example shows how to set the repository location for all tags to be created in Subversion. Note that this is not needed if you use the standard SVN layout, where the root project is in <tt>trunk</tt>, and there is a sibling <tt>tags</tt> directory.</p>
-<div class="source"><pre>&lt;project&gt;
+        <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements.  See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership.  The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License.  You may obtain a copy of the License at --><!--  --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!--  --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied.  See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><div class="section"><h2>Usage<a name="Usage"></a></h2><p>The following are some common scenarios in
  preparing a release.</p><div class="section"><h3>Use a different username in the SCM server than the one in the operating system<a name="Use_a_different_username_in_the_SCM_server_than_the_one_in_the_operating_system"></a></h3><p>Most of the SCMs are simply executed as an external command as the current user on your system. If this username is not the same as the SCM username, you may need to set the following option:</p><div><pre>mvn -Dusername=your_scm_username release:prepare</pre></div></div><div class="section"><h3>Set where to tag the files in Subversion<a name="Set_where_to_tag_the_files_in_Subversion"></a></h3><p>This example shows how to set the repository location for all tags to be created in Subversion. Note that this is not needed if you use the standard SVN layout, where the root project is in <tt>trunk</tt>, and there is a sibling <tt>tags</tt> directory.</p><div><pre>&lt;project&gt;
   ...
   &lt;build&gt;
     ...
@@ -294,7 +290,7 @@ John Tolentino jtolentino@apache.org" />
       &lt;plugin&gt;
         &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
         &lt;artifactId&gt;maven-release-plugin&lt;/artifactId&gt;
-        &lt;version&gt;2.1&lt;/version&gt;
+        &lt;version&gt;2.2&lt;/version&gt;
         &lt;configuration&gt;
           &lt;tagBase&gt;https://svn.apache.org/repos/asf/maven/components/releases&lt;/tagBase&gt;
         &lt;/configuration&gt;
@@ -303,31 +299,7 @@ John Tolentino jtolentino@apache.org" />
     ...
   &lt;/build&gt;
   ...
-&lt;/project&gt;</pre>
-</div>
-</div>
-<div class="section"><h3>Do a Dry Run</h3>
-<p>Since the Release Plugin performs a number of operations that change the project, it may be wise to do a dry run before a big release or on a new project. To do this, commit all of your files as if you were about to run a full release and run:</p>
-<div class="source"><pre>mvn release:prepare -DdryRun=true</pre>
-</div>
-<p>This will ask all the same questions, run the same tests, and output a copy of how the POMs will look after transformation. You can check the output and review the POMs, then run:</p>
-<div class="source"><pre>mvn release:clean</pre>
-</div>
-<p>This will remove all of the files created above, and the project will be ready to execute the proper release.</p>
-</div>
-<div class="section"><h3>Run in Batch Mode</h3>
-<p>Sometimes it is desirable to do the commit/tag process on a regular interval (e.g. to produce nightly or integration builds through a build server). To use the default inputs for the versions and tag information and not prompt for any values, use Maven's <tt>--batch-mode</tt> setting:</p>
-<div class="source"><pre>mvn --batch-mode release:prepare</pre>
-</div>
-</div>
-<div class="section"><h3>Use a staging repository</h3>
-<p>Sometimes it is desirable to deploy a pre-release to be approved before made publicly available. One option is to create release candidates versions using the <tt>release:perform</tt> goal, but the final deployed artifact will NOT be the exact one that has been approved as RCx.</p>
-<p>A common solution is to use a staging repository, where a test-version is deployed with it's documentation for review. If all is fine, it is then copied to the public repository. Using this strategy, the artifact that has been tested IS the one that is deployed.</p>
-<p>The <tt>release:stage</tt> goal uses this strategy. It replaces the <tt>release:perform</tt> goal and does the same tasks, but requires a <tt>stagingRepository</tt> parameter. It will automatically re-configure the <tt>deploy</tt> and <tt>site-deploy</tt> goals to use the staging strategy.</p>
-<p>After the release is complete, the <tt>release.properties</tt> and other release files will NOT be removed, so that you can still execute a <tt>release:rollback</tt> if some error has been detected and a new candidate must be created after some fixes. You just need to use a distinct tag in SCM, or rename the one that has been created if the SCM provider supports renaming tags.</p>
-</div>
-</div>
-
+&lt;/project&gt;</pre></div></div><div class="section"><h3>Do a Dry Run<a name="Do_a_Dry_Run"></a></h3><p>Since the Release Plugin performs a number of operations that change the project, it may be wise to do a dry run before a big release or on a new project. To do this, commit all of your files as if you were about to run a full release and run:</p><div><pre>mvn release:prepare -DdryRun=true</pre></div><p>This will ask all the same questions, run the same tests, and output a copy of how the POMs will look after transformation. You can check the output and review the POMs, then run:</p><div><pre>mvn release:clean</pre></div><p>This will remove all of the files created above, and the project will be ready to execute the proper release.</p></div><div class="section"><h3>Run in Batch Mode<a name="Run_in_Batch_Mode"></a></h3><p>Sometimes it is desirable to do the commit/tag process on a regular interval (e.g. to produce nightly or integration builds through a build server). To 
 use the default inputs for the versions and tag information and not prompt for any values, use Maven's <tt>--batch-mode</tt> setting:</p><div><pre>mvn --batch-mode release:prepare</pre></div></div><div class="section"><h3>Use a staging repository<a name="Use_a_staging_repository"></a></h3><p>Sometimes it is desirable to deploy a pre-release to be approved before made publicly available. One option is to create release candidates versions using the <tt>release:perform</tt> goal, but the final deployed artifact will NOT be the exact one that has been approved as RCx.</p><p>A common solution is to use a staging repository, where a test-version is deployed with it's documentation for review. If all is fine, it is then copied to the public repository. Using this strategy, the artifact that has been tested IS the one that is deployed.</p><p>The <tt>release:stage</tt> goal uses this strategy. It replaces the <tt>release:perform</tt> goal and does the same tasks, but requires a <tt>
 stagingRepository</tt> parameter. It will automatically re-configure the <tt>deploy</tt> and <tt>site-deploy</tt> goals to use the staging strategy.</p><p>After the release is complete, the <tt>release.properties</tt> and other release files will NOT be removed, so that you can still execute a <tt>release:rollback</tt> if some error has been detected and a new candidate must be created after some fixes. You just need to use a distinct tag in SCM, or rename the one that has been created if the SCM provider supports renaming tags.</p></div></div>
       </div>
     </div>
     <div class="clear">
@@ -335,7 +307,7 @@ John Tolentino jtolentino@apache.org" />
     </div>
     <div id="footer">
       <div class="xright">&#169;  
-          2002-2010
+          2002-2011
     
           The Apache Software Foundation
           

Modified: websites/production/maventest/content/plugins/maven-release-plugin-latest/xref-test/allclasses-frame.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-release-plugin-latest/xref-test/allclasses-frame.html (original)
+++ websites/production/maventest/content/plugins/maven-release-plugin-latest/xref-test/allclasses-frame.html Tue May  8 11:38:11 2012
@@ -2,7 +2,7 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
 <html xml:lang="en" lang="en">
 	<head>
-		<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
 		<title>All Classes</title>
 		<link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
     </head>

Modified: websites/production/maventest/content/plugins/maven-release-plugin-latest/xref-test/index.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-release-plugin-latest/xref-test/index.html (original)
+++ websites/production/maventest/content/plugins/maven-release-plugin-latest/xref-test/index.html Tue May  8 11:38:11 2012
@@ -2,8 +2,8 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "DTD/xhtml1-frameset.dtd">
 <html xml:lang="en" lang="en">
 	<head>
-		<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
-		<title>Maven Release Plugin 2.1 Reference</title>
+		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+		<title>Maven Release Plugin 2.2 Reference</title>
 	</head>
     <frameset cols="20%,80%">
 		<frameset rows="30%,70%">

Modified: websites/production/maventest/content/plugins/maven-release-plugin-latest/xref-test/org/apache/maven/plugins/release/CleanReleaseMojoTest.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-release-plugin-latest/xref-test/org/apache/maven/plugins/release/CleanReleaseMojoTest.html (original)
+++ websites/production/maventest/content/plugins/maven-release-plugin-latest/xref-test/org/apache/maven/plugins/release/CleanReleaseMojoTest.html Tue May  8 11:38:11 2012
@@ -1,85 +1,85 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
-<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
 <title>CleanReleaseMojoTest xref</title>
 <link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
 </head>
 <body>
-<pre>
+<div id="overview"><a href="../../../../../../testapidocs/org/apache/maven/plugins/release/CleanReleaseMojoTest.html">View Javadoc</a></div><pre>
 
-<a name="1" href="#1">1</a>   <strong class="jxr_keyword">package</strong> org.apache.maven.plugins.release;
-<a name="2" href="#2">2</a>   
-<a name="3" href="#3">3</a>   <em class="jxr_comment">/*</em>
-<a name="4" href="#4">4</a>   <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
-<a name="5" href="#5">5</a>   <em class="jxr_comment"> * or more contributor license agreements.  See the NOTICE file</em>
-<a name="6" href="#6">6</a>   <em class="jxr_comment"> * distributed with this work for additional information</em>
-<a name="7" href="#7">7</a>   <em class="jxr_comment"> * regarding copyright ownership.  The ASF licenses this file</em>
-<a name="8" href="#8">8</a>   <em class="jxr_comment"> * to you under the Apache License, Version 2.0 (the</em>
-<a name="9" href="#9">9</a>   <em class="jxr_comment"> * "License"); you may not use this file except in compliance</em>
-<a name="10" href="#10">10</a>  <em class="jxr_comment"> * with the License.  You may obtain a copy of the License at</em>
-<a name="11" href="#11">11</a>  <em class="jxr_comment"> *</em>
-<a name="12" href="#12">12</a>  <em class="jxr_comment"> *  <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
-<a name="13" href="#13">13</a>  <em class="jxr_comment"> *</em>
-<a name="14" href="#14">14</a>  <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing,</em>
-<a name="15" href="#15">15</a>  <em class="jxr_comment"> * software distributed under the License is distributed on an</em>
-<a name="16" href="#16">16</a>  <em class="jxr_comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
-<a name="17" href="#17">17</a>  <em class="jxr_comment"> * KIND, either express or implied.  See the License for the</em>
-<a name="18" href="#18">18</a>  <em class="jxr_comment"> * specific language governing permissions and limitations</em>
-<a name="19" href="#19">19</a>  <em class="jxr_comment"> * under the License.</em>
-<a name="20" href="#20">20</a>  <em class="jxr_comment"> */</em>
-<a name="21" href="#21">21</a>  
-<a name="22" href="#22">22</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.plugin.MojoExecutionException;
-<a name="23" href="#23">23</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.plugin.MojoFailureException;
-<a name="24" href="#24">24</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.plugin.testing.AbstractMojoTestCase;
-<a name="25" href="#25">25</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.shared.release.ReleaseManager;
-<a name="26" href="#26">26</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.shared.release.config.ReleaseDescriptor;
-<a name="27" href="#27">27</a>  <strong class="jxr_keyword">import</strong> org.jmock.Mock;
-<a name="28" href="#28">28</a>  <strong class="jxr_keyword">import</strong> org.jmock.core.constraint.IsEqual;
-<a name="29" href="#29">29</a>  <strong class="jxr_keyword">import</strong> org.jmock.core.constraint.IsNull;
-<a name="30" href="#30">30</a>  <strong class="jxr_keyword">import</strong> org.jmock.core.matcher.InvokeOnceMatcher;
-<a name="31" href="#31">31</a>  
-<a name="32" href="#32">32</a>  <strong class="jxr_keyword">import</strong> java.io.File;
-<a name="33" href="#33">33</a>  
-<a name="34" href="#34">34</a>  <em class="jxr_javadoccomment">/**</em>
-<a name="35" href="#35">35</a>  <em class="jxr_javadoccomment"> * Test release:clean.</em>
-<a name="36" href="#36">36</a>  <em class="jxr_javadoccomment"> *</em>
-<a name="37" href="#37">37</a>  <em class="jxr_javadoccomment"> * @author &lt;a href="<a href="mailto:brett@apache.org" target="alexandria_uri">mailto:brett@apache.org</a>"&gt;Brett Porter&lt;/a&gt;</em>
-<a name="38" href="#38">38</a>  <em class="jxr_javadoccomment"> */</em>
-<a name="39" href="#39">39</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/maven/plugins/release/CleanReleaseMojoTest.html">CleanReleaseMojoTest</a>
-<a name="40" href="#40">40</a>      <strong class="jxr_keyword">extends</strong> AbstractMojoTestCase
-<a name="41" href="#41">41</a>  {
-<a name="42" href="#42">42</a>      <strong class="jxr_keyword">protected</strong> CleanReleaseMojo mojo;
-<a name="43" href="#43">43</a>  
-<a name="44" href="#44">44</a>      <strong class="jxr_keyword">private</strong> File workingDirectory;
-<a name="45" href="#45">45</a>  
-<a name="46" href="#46">46</a>      <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> setUp()
-<a name="47" href="#47">47</a>          <strong class="jxr_keyword">throws</strong> Exception
-<a name="48" href="#48">48</a>      {
-<a name="49" href="#49">49</a>          <strong class="jxr_keyword">super</strong>.setUp();
-<a name="50" href="#50">50</a>  
-<a name="51" href="#51">51</a>          File testFile = getTestFile( <span class="jxr_string">"target/test-classes/mojos/clean/clean.xml"</span> );
-<a name="52" href="#52">52</a>          mojo = (CleanReleaseMojo) lookupMojo( <span class="jxr_string">"clean"</span>, testFile );
-<a name="53" href="#53">53</a>          workingDirectory = testFile.getParentFile();
-<a name="54" href="#54">54</a>          mojo.setBasedir( workingDirectory );
-<a name="55" href="#55">55</a>      }
-<a name="56" href="#56">56</a>  
-<a name="57" href="#57">57</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testClean()
-<a name="58" href="#58">58</a>          <strong class="jxr_keyword">throws</strong> MojoFailureException, MojoExecutionException
-<a name="59" href="#59">59</a>      {
-<a name="60" href="#60">60</a>          ReleaseDescriptor descriptor = <strong class="jxr_keyword">new</strong> ReleaseDescriptor();
-<a name="61" href="#61">61</a>          descriptor.setWorkingDirectory( workingDirectory.getAbsolutePath() );
-<a name="62" href="#62">62</a>  
-<a name="63" href="#63">63</a>          Mock mock = <strong class="jxr_keyword">new</strong> Mock( ReleaseManager.<strong class="jxr_keyword">class</strong> );
-<a name="64" href="#64">64</a>          mock.expects( <strong class="jxr_keyword">new</strong> InvokeOnceMatcher() ).method( <span class="jxr_string">"clean"</span> ).with( <strong class="jxr_keyword">new</strong> IsEqual( descriptor ), <strong class="jxr_keyword">new</strong> IsNull(),
-<a name="65" href="#65">65</a>                                                                          <strong class="jxr_keyword">new</strong> IsEqual( mojo.getReactorProjects() ) );
-<a name="66" href="#66">66</a>          mojo.setReleaseManager( (ReleaseManager) mock.proxy() );
-<a name="67" href="#67">67</a>  
-<a name="68" href="#68">68</a>          mojo.execute();
-<a name="69" href="#69">69</a>  
-<a name="70" href="#70">70</a>          assertTrue( <strong class="jxr_keyword">true</strong> );
-<a name="71" href="#71">71</a>      }
-<a name="72" href="#72">72</a>  }
+<a class="jxr_linenumber" name="1" href="#1">1</a>   <strong class="jxr_keyword">package</strong> org.apache.maven.plugins.release;
+<a class="jxr_linenumber" name="2" href="#2">2</a>   
+<a class="jxr_linenumber" name="3" href="#3">3</a>   <em class="jxr_comment">/*</em>
+<a class="jxr_linenumber" name="4" href="#4">4</a>   <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
+<a class="jxr_linenumber" name="5" href="#5">5</a>   <em class="jxr_comment"> * or more contributor license agreements.  See the NOTICE file</em>
+<a class="jxr_linenumber" name="6" href="#6">6</a>   <em class="jxr_comment"> * distributed with this work for additional information</em>
+<a class="jxr_linenumber" name="7" href="#7">7</a>   <em class="jxr_comment"> * regarding copyright ownership.  The ASF licenses this file</em>
+<a class="jxr_linenumber" name="8" href="#8">8</a>   <em class="jxr_comment"> * to you under the Apache License, Version 2.0 (the</em>
+<a class="jxr_linenumber" name="9" href="#9">9</a>   <em class="jxr_comment"> * "License"); you may not use this file except in compliance</em>
+<a class="jxr_linenumber" name="10" href="#10">10</a>  <em class="jxr_comment"> * with the License.  You may obtain a copy of the License at</em>
+<a class="jxr_linenumber" name="11" href="#11">11</a>  <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="12" href="#12">12</a>  <em class="jxr_comment"> *  <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a class="jxr_linenumber" name="13" href="#13">13</a>  <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="14" href="#14">14</a>  <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing,</em>
+<a class="jxr_linenumber" name="15" href="#15">15</a>  <em class="jxr_comment"> * software distributed under the License is distributed on an</em>
+<a class="jxr_linenumber" name="16" href="#16">16</a>  <em class="jxr_comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
+<a class="jxr_linenumber" name="17" href="#17">17</a>  <em class="jxr_comment"> * KIND, either express or implied.  See the License for the</em>
+<a class="jxr_linenumber" name="18" href="#18">18</a>  <em class="jxr_comment"> * specific language governing permissions and limitations</em>
+<a class="jxr_linenumber" name="19" href="#19">19</a>  <em class="jxr_comment"> * under the License.</em>
+<a class="jxr_linenumber" name="20" href="#20">20</a>  <em class="jxr_comment"> */</em>
+<a class="jxr_linenumber" name="21" href="#21">21</a>  
+<a class="jxr_linenumber" name="22" href="#22">22</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.plugin.MojoExecutionException;
+<a class="jxr_linenumber" name="23" href="#23">23</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.plugin.MojoFailureException;
+<a class="jxr_linenumber" name="24" href="#24">24</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.plugin.testing.AbstractMojoTestCase;
+<a class="jxr_linenumber" name="25" href="#25">25</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.shared.release.ReleaseManager;
+<a class="jxr_linenumber" name="26" href="#26">26</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.shared.release.config.ReleaseDescriptor;
+<a class="jxr_linenumber" name="27" href="#27">27</a>  <strong class="jxr_keyword">import</strong> org.jmock.Mock;
+<a class="jxr_linenumber" name="28" href="#28">28</a>  <strong class="jxr_keyword">import</strong> org.jmock.core.constraint.IsEqual;
+<a class="jxr_linenumber" name="29" href="#29">29</a>  <strong class="jxr_keyword">import</strong> org.jmock.core.constraint.IsNull;
+<a class="jxr_linenumber" name="30" href="#30">30</a>  <strong class="jxr_keyword">import</strong> org.jmock.core.matcher.InvokeOnceMatcher;
+<a class="jxr_linenumber" name="31" href="#31">31</a>  
+<a class="jxr_linenumber" name="32" href="#32">32</a>  <strong class="jxr_keyword">import</strong> java.io.File;
+<a class="jxr_linenumber" name="33" href="#33">33</a>  
+<a class="jxr_linenumber" name="34" href="#34">34</a>  <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="35" href="#35">35</a>  <em class="jxr_javadoccomment"> * Test release:clean.</em>
+<a class="jxr_linenumber" name="36" href="#36">36</a>  <em class="jxr_javadoccomment"> *</em>
+<a class="jxr_linenumber" name="37" href="#37">37</a>  <em class="jxr_javadoccomment"> * @author &lt;a href="<a href="mailto:brett@apache.org" target="alexandria_uri">mailto:brett@apache.org</a>"&gt;Brett Porter&lt;/a&gt;</em>
+<a class="jxr_linenumber" name="38" href="#38">38</a>  <em class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="39" href="#39">39</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/maven/plugins/release/CleanReleaseMojoTest.html">CleanReleaseMojoTest</a>
+<a class="jxr_linenumber" name="40" href="#40">40</a>      <strong class="jxr_keyword">extends</strong> AbstractMojoTestCase
+<a class="jxr_linenumber" name="41" href="#41">41</a>  {
+<a class="jxr_linenumber" name="42" href="#42">42</a>      <strong class="jxr_keyword">protected</strong> CleanReleaseMojo mojo;
+<a class="jxr_linenumber" name="43" href="#43">43</a>  
+<a class="jxr_linenumber" name="44" href="#44">44</a>      <strong class="jxr_keyword">private</strong> File workingDirectory;
+<a class="jxr_linenumber" name="45" href="#45">45</a>  
+<a class="jxr_linenumber" name="46" href="#46">46</a>      <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> setUp()
+<a class="jxr_linenumber" name="47" href="#47">47</a>          <strong class="jxr_keyword">throws</strong> Exception
+<a class="jxr_linenumber" name="48" href="#48">48</a>      {
+<a class="jxr_linenumber" name="49" href="#49">49</a>          <strong class="jxr_keyword">super</strong>.setUp();
+<a class="jxr_linenumber" name="50" href="#50">50</a>  
+<a class="jxr_linenumber" name="51" href="#51">51</a>          File testFile = getTestFile( <span class="jxr_string">"target/test-classes/mojos/clean/clean.xml"</span> );
+<a class="jxr_linenumber" name="52" href="#52">52</a>          mojo = (CleanReleaseMojo) lookupMojo( <span class="jxr_string">"clean"</span>, testFile );
+<a class="jxr_linenumber" name="53" href="#53">53</a>          workingDirectory = testFile.getParentFile();
+<a class="jxr_linenumber" name="54" href="#54">54</a>          mojo.setBasedir( workingDirectory );
+<a class="jxr_linenumber" name="55" href="#55">55</a>      }
+<a class="jxr_linenumber" name="56" href="#56">56</a>  
+<a class="jxr_linenumber" name="57" href="#57">57</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testClean()
+<a class="jxr_linenumber" name="58" href="#58">58</a>          <strong class="jxr_keyword">throws</strong> MojoFailureException, MojoExecutionException
+<a class="jxr_linenumber" name="59" href="#59">59</a>      {
+<a class="jxr_linenumber" name="60" href="#60">60</a>          ReleaseDescriptor descriptor = <strong class="jxr_keyword">new</strong> ReleaseDescriptor();
+<a class="jxr_linenumber" name="61" href="#61">61</a>          descriptor.setWorkingDirectory( workingDirectory.getAbsolutePath() );
+<a class="jxr_linenumber" name="62" href="#62">62</a>  
+<a class="jxr_linenumber" name="63" href="#63">63</a>          Mock mock = <strong class="jxr_keyword">new</strong> Mock( ReleaseManager.<strong class="jxr_keyword">class</strong> );
+<a class="jxr_linenumber" name="64" href="#64">64</a>          mock.expects( <strong class="jxr_keyword">new</strong> InvokeOnceMatcher() ).method( <span class="jxr_string">"clean"</span> ).with( <strong class="jxr_keyword">new</strong> IsEqual( descriptor ), <strong class="jxr_keyword">new</strong> IsNull(),
+<a class="jxr_linenumber" name="65" href="#65">65</a>                                                                          <strong class="jxr_keyword">new</strong> IsEqual( mojo.getReactorProjects() ) );
+<a class="jxr_linenumber" name="66" href="#66">66</a>          mojo.setReleaseManager( (ReleaseManager) mock.proxy() );
+<a class="jxr_linenumber" name="67" href="#67">67</a>  
+<a class="jxr_linenumber" name="68" href="#68">68</a>          mojo.execute();
+<a class="jxr_linenumber" name="69" href="#69">69</a>  
+<a class="jxr_linenumber" name="70" href="#70">70</a>          assertTrue( <strong class="jxr_keyword">true</strong> );
+<a class="jxr_linenumber" name="71" href="#71">71</a>      }
+<a class="jxr_linenumber" name="72" href="#72">72</a>  }
 </pre>
 <hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
 </html>