maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r797971 - in /maven/release/trunk/maven-release-plugin: pom.xml src/main/java/org/apache/maven/plugins/release/BranchReleaseMojo.java
Date Sun, 26 Jul 2009 18:26:53 GMT
Author: olamy
Date: Sun Jul 26 18:26:53 2009
New Revision: 797971

URL: http://svn.apache.org/viewvc?rev=797971&view=rev
Log:
[MRELEASE-461] Add a mojo parameter for using the new remote tagging for svn scm provider
(to prevent issue with svn > 1.5.0) in branch mojo

Modified:
    maven/release/trunk/maven-release-plugin/pom.xml
    maven/release/trunk/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/BranchReleaseMojo.java

Modified: maven/release/trunk/maven-release-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/release/trunk/maven-release-plugin/pom.xml?rev=797971&r1=797970&r2=797971&view=diff
==============================================================================
--- maven/release/trunk/maven-release-plugin/pom.xml (original)
+++ maven/release/trunk/maven-release-plugin/pom.xml Sun Jul 26 18:26:53 2009
@@ -60,7 +60,7 @@
     <dependency>
       <groupId>org.apache.maven.release</groupId>
       <artifactId>maven-release-manager</artifactId>
-      <version>2.0-beta-10-SNAPSHOT</version>
+      <version>${project.version}</version>
     </dependency>
     <dependency>
       <groupId>org.apache.maven</groupId>

Modified: maven/release/trunk/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/BranchReleaseMojo.java
URL: http://svn.apache.org/viewvc/maven/release/trunk/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/BranchReleaseMojo.java?rev=797971&r1=797970&r2=797971&view=diff
==============================================================================
--- maven/release/trunk/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/BranchReleaseMojo.java
(original)
+++ maven/release/trunk/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/BranchReleaseMojo.java
Sun Jul 26 18:26:53 2009
@@ -103,6 +103,16 @@
      * @parameter expression="${addSchema}" default-value="true"
      */
     private boolean addSchema;
+    
+    /**
+     * currently only implemented with svn scm. Enable a workaround to prevent issue 
+     * due to svn client > 1.5.0 (http://jira.codehaus.org/browse/SCM-406)
+     *      
+     * 
+     * @parameter expression="${remoteTagging}" default-value="true"
+     * @since 2.0-beta-10
+     */    
+    private boolean remoteTagging;    
 
     /**
      * {@inheritDoc}
@@ -127,6 +137,7 @@
         config.setUpdateBranchVersions( updateBranchVersions );
         config.setUpdateWorkingCopyVersions( updateWorkingCopyVersions );
         config.setUpdateVersionsToSnapshot( updateVersionsToSnapshot );
+        config.setRemoteTagging( remoteTagging );
 
         try
         {



Mime
View raw message