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:35:16 UTC

svn commit: r816525 [11/25] - 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/ css/ examples/ testapidocs...

Modified: websites/production/maventest/content/plugins/maven-release-plugin-latest/cpd.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-release-plugin-latest/cpd.html (original)
+++ websites/production/maventest/content/plugins/maven-release-plugin-latest/cpd.html Tue May  8 11:35:10 2012
@@ -12,14 +12,14 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
-    <title>Maven Release Plugin - CPD Results</title>
+    <title>Maven Release plugin - CPD Results</title>
     <style type="text/css" media="all">
       @import url("./css/maven-base.css");
       @import url("./css/maven-theme.css");
       @import url("./css/site.css");
     </style>
     <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
-        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
                                                     
 <script type="text/javascript" src="http://www.google-analytics.com/urchin.js"></script>
                                                         
@@ -28,14 +28,14 @@
                     </head>
   <body class="composite">
     <div id="banner">
-                  <a href="../../" id="bannerLeft">
+                  <a href="http://maven.apache.org/" id="bannerLeft">
     
-                                            <img src="../../images/apache-maven-project-2.png" alt="" />
+                                    <img src="http://maven.apache.org/images/apache-maven-project-2.png" alt="" />
     
             </a>
-                        <a href="../../maven-release" id="bannerRight">
+                        <a href="http://maven.apache.org/maven-release" id="bannerRight">
     
-                                            <img src="../../images/maven-logo-2.gif" alt="" />
+                                    <img src="http://maven.apache.org/images/maven-logo-2.gif" alt="" />
     
             </a>
             <div class="clear">
@@ -56,13 +56,13 @@
                 <a href="http://www.apache.org/" class="externalLink">Apache</a>
                 &gt;
       
-                <a href="../../index.html">Maven</a>
+                <a href="http://maven.apache.org/index.html" class="externalLink">Maven</a>
                 &gt;
       
-                <a href="../index.html">Plugins</a>
+                <a href="http://maven.apache.org/plugins/index.html" class="externalLink">Plugins</a>
                 &gt;
       
-                <a href="index.html">Maven Release Plugin</a>
+                <a href="http://maven.apache.org/plugins/maven-release-plugin/index.html" class="externalLink">Maven Release Plugin</a>
                   </div>
             <div class="xright">      
   
@@ -72,8 +72,8 @@
             
   
     
-             Last Published: 2009-03-23
-              &nbsp;| Version: 2.0-beta-9
+             Last Published: 2010-02-07
+              &nbsp;| Version: 2.0
             </div>
       <div class="clear">
         <hr/>
@@ -112,11 +112,19 @@
             <ul>
               
     <li class="none">
-                    <a href="examples/perform-release.html">Perform Release</a>
+                    <a href="examples/prepare-release.html">Prepare a Release</a>
           </li>
               
     <li class="none">
-                    <a href="examples/prepare-release.html">Prepare Release</a>
+                    <a href="examples/perform-release.html">Perform a Release</a>
+          </li>
+              
+    <li class="none">
+                    <a href="examples/rollback-release.html">Rollback a Release</a>
+          </li>
+              
+    <li class="none">
+                    <a href="examples/clean-release.html">Clean a Release</a>
           </li>
               
     <li class="none">
@@ -136,7 +144,11 @@
           </li>
               
     <li class="none">
-                    <a href="examples/non-interactive-release.html">Batch Mode Release</a>
+                    <a href="examples/non-interactive-release.html">Non-interactive Release</a>
+          </li>
+              
+    <li class="none">
+                    <a href="examples/update-versions.html">Update POM Versions</a>
           </li>
           </ul>
               <h5>Project Documentation</h5>
@@ -165,6 +177,8 @@
       
             
       
+            
+      
               
         <li class="collapsed">
                     <a href="project-info.html">Project Information</a>
@@ -248,47 +262,47 @@
             <ul>
               
     <li class="none">
-                    <a href="../../ant-tasks/index.html">Ant Tasks</a>
+                    <a href="http://maven.apache.org/ant-tasks/index.html" class="externalLink">Ant Tasks</a>
           </li>
               
     <li class="none">
-                    <a href="../../doxia/index.html">Doxia</a>
+                    <a href="http://maven.apache.org/doxia/index.html" class="externalLink">Doxia</a>
           </li>
               
     <li class="none">
-                    <a href="../../jxr/index.html">JXR</a>
+                    <a href="http://maven.apache.org/jxr/index.html" class="externalLink">JXR</a>
           </li>
               
     <li class="none">
-                    <a href="../../maven-1.x/index.html">Maven 1.x</a>
+                    <a href="http://maven.apache.org/maven-1.x/index.html" class="externalLink">Maven 1.x</a>
           </li>
               
     <li class="none">
-                    <a href="../../index.html">Maven 2</a>
+                    <a href="http://maven.apache.org/index.html" class="externalLink">Maven 2</a>
           </li>
               
     <li class="none">
-                    <a href="../../mercury/index.html">Mercury</a>
+                    <a href="http://maven.apache.org/mercury/index.html" class="externalLink">Mercury</a>
           </li>
               
     <li class="none">
-                    <a href="../index.html">Plugins</a>
+                    <a href="http://maven.apache.org/plugins/index.html" class="externalLink">Plugins</a>
           </li>
               
     <li class="none">
-                    <a href="../../scm/index.html">SCM</a>
+                    <a href="http://maven.apache.org/scm/index.html" class="externalLink">SCM</a>
           </li>
               
     <li class="none">
-                    <a href="../../shared/index.html">Shared Components</a>
+                    <a href="http://maven.apache.org/shared/index.html" class="externalLink">Shared Components</a>
           </li>
               
     <li class="none">
-                    <a href="../../surefire/index.html">Surefire</a>
+                    <a href="http://maven.apache.org/surefire/index.html" class="externalLink">Surefire</a>
           </li>
               
     <li class="none">
-                    <a href="../../wagon/index.html">Wagon</a>
+                    <a href="http://maven.apache.org/wagon/index.html" class="externalLink">Wagon</a>
           </li>
           </ul>
                                            <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
@@ -310,7 +324,53 @@
 <p>The following document contains the results of PMD's  <a href="http://pmd.sourceforge.net/cpd.html" class="externalLink">CPD</a> 4.2.2.</p>
 </div>
 <div class="section"><h2>Duplications</h2>
-CPD found no problems in your source code.</div>
+<p><table class="bodyTable"><tr class="a"><th>File</th>
+<th>Line</th>
+</tr>
+<tr class="b"><td>org\apache\maven\plugins\release\PrepareReleaseMojo.java</td>
+<td><a href="./xref/org/apache/maven/plugins/release/PrepareReleaseMojo.html#211">211</a></td>
+</tr>
+<tr class="a"><td>org\apache\maven\plugins\release\UpdateVersionsMojo.java</td>
+<td><a href="./xref/org/apache/maven/plugins/release/UpdateVersionsMojo.html#105">105</a></td>
+</tr>
+<tr class="b"><td colspan='2'><div class="source"><pre>            releaseManager.updateVersions( config, getReleaseEnvironment(), reactorProjects );
+        }
+        catch ( ReleaseExecutionException e )
+        {
+            throw new MojoExecutionException( e.getMessage(), e );
+        }
+        catch ( ReleaseFailureException e )
+        {
+            throw new MojoFailureException( e.getMessage(), e );
+        }
+    }
+
+    /**
+     * This method takes some of the release configuration picked up from the command line system properties and copies
+     * it into the release config object.
+     *
+     * @param config The release configuration to merge the system properties into, must not be &lt;code&gt;null&lt;/code&gt;.
+     * @param sysPropertiesConfig The configuration from the system properties to merge in, must not be
+     *            &lt;code&gt;null&lt;/code&gt;.
+     */
+    private void mergeCommandLineConfig( ReleaseDescriptor config, ReleaseDescriptor sysPropertiesConfig )
+    {
+        // If the user specifies versions, these should override the existing versions
+        if ( sysPropertiesConfig.getReleaseVersions() != null )
+        {
+            config.getReleaseVersions().putAll( sysPropertiesConfig.getReleaseVersions() );
+        }
+        if ( sysPropertiesConfig.getDevelopmentVersions() != null )
+        {
+            config.getDevelopmentVersions().putAll( sysPropertiesConfig.getDevelopmentVersions() );
+        }
+    }
+
+}</pre>
+</div>
+</td></tr>
+<table class="bodyTable"></p>
+</div>
 
       </div>
     </div>
@@ -319,7 +379,7 @@ CPD found no problems in your source cod
     </div>
     <div id="footer">
       <div class="xright">&#169;  
-          2002-2009
+          2002-2010
     
           The Apache Software Foundation
           

Modified: websites/production/maventest/content/plugins/maven-release-plugin-latest/css/site.css
==============================================================================
--- websites/production/maventest/content/plugins/maven-release-plugin-latest/css/site.css (original)
+++ websites/production/maventest/content/plugins/maven-release-plugin-latest/css/site.css Tue May  8 11:35:10 2012
@@ -0,0 +1 @@
+/* You can override this file with your own styles */
\ No newline at end of file