maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r399193 - /maven/plugins/trunk/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/PerformReleaseMojo.java
Date Wed, 03 May 2006 07:58:27 GMT
Author: brett
Date: Wed May  3 00:58:25 2006
New Revision: 399193

URL: http://svn.apache.org/viewcvs?rev=399193&view=rev
Log:
[MRELEASE-98] rename connection URL

Modified:
    maven/plugins/trunk/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/PerformReleaseMojo.java

Modified: maven/plugins/trunk/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/PerformReleaseMojo.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/PerformReleaseMojo.java?rev=399193&r1=399192&r2=399193&view=diff
==============================================================================
--- maven/plugins/trunk/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/PerformReleaseMojo.java
(original)
+++ maven/plugins/trunk/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/PerformReleaseMojo.java
Wed May  3 00:58:25 2006
@@ -29,6 +29,7 @@
  * @author <a href="mailto:brett@apache.org">Brett Porter</a>
  * @version $Id$
  * @aggregator
+ * @requiresProject false
  * @goal perform
  */
 public class PerformReleaseMojo
@@ -53,9 +54,9 @@
      * The SCM URL to checkout from. If omitted, the one from the release.properties file
is used, followed by the URL
      * from the current POM.
      *
-     * @parameter expression="${scmUrl}"
+     * @parameter expression="${connectionUrl}"
      */
-    private String scmUrl;
+    private String connectionUrl;
 
     /**
      * Whether to use the release profile that adds sources and javadocs to the released
artifact, if appropriate.
@@ -71,9 +72,9 @@
         {
             // Note that the working directory here is not the same as in the release configuration,
so don't reuse that
             ReleaseConfiguration releaseConfiguration = createReleaseConfiguration();
-            if ( scmUrl != null )
+            if ( connectionUrl != null )
             {
-                releaseConfiguration.setUrl( scmUrl );
+                releaseConfiguration.setUrl( connectionUrl );
             }
 
             releaseManager.perform( releaseConfiguration, workingDirectory, goals, useReleaseProfile
);



Mime
View raw message