continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r764681 - /continuum/trunk/continuum-release/src/main/java/org/apache/maven/continuum/release/DefaultContinuumReleaseManager.java
Date Tue, 14 Apr 2009 05:55:14 GMT
Author: ctan
Date: Tue Apr 14 05:55:13 2009
New Revision: 764681

URL: http://svn.apache.org/viewvc?rev=764681&view=rev
Log:
fix bug when local repository is not null, it overrides any additional arguments of the release
descriptor

Modified:
    continuum/trunk/continuum-release/src/main/java/org/apache/maven/continuum/release/DefaultContinuumReleaseManager.java

Modified: continuum/trunk/continuum-release/src/main/java/org/apache/maven/continuum/release/DefaultContinuumReleaseManager.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-release/src/main/java/org/apache/maven/continuum/release/DefaultContinuumReleaseManager.java?rev=764681&r1=764680&r2=764681&view=diff
==============================================================================
--- continuum/trunk/continuum-release/src/main/java/org/apache/maven/continuum/release/DefaultContinuumReleaseManager.java
(original)
+++ continuum/trunk/continuum-release/src/main/java/org/apache/maven/continuum/release/DefaultContinuumReleaseManager.java
Tue Apr 14 05:55:13 2009
@@ -251,7 +251,8 @@
 
         if ( repository != null )
         {
-            descriptor.setAdditionalArguments( "\"-Dmaven.repo.local=" + repository.getLocation()
+ "\"" );
+            descriptor.setAdditionalArguments( descriptor.getAdditionalArguments() + " \"-Dmaven.repo.local="
+ repository.getLocation() + "\"" );
+            //descriptor.setAdditionalArguments( "\"-Dmaven.repo.local=" + repository.getLocation()
+ "\"" );
         }
 
         //other properties



Mime
View raw message