maven-wagon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r179342 - in /maven/wagon/trunk: ./ wagon-providers/wagon-ssh-external/ wagon-providers/wagon-ssh-external/src/main/java/org/apache/maven/wagon/providers/sshext/ wagon-providers/wagon-ssh/ wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/
Date Wed, 01 Jun 2005 03:07:07 GMT
Author: brett
Date: Tue May 31 20:07:06 2005
New Revision: 179342

URL: http://svn.apache.org/viewcvs?rev=179342&view=rev
Log:
PR: MPARTIFACT-46
add -f to chmod/chgrp, it may be valid

Modified:
    maven/wagon/trunk/pom.xml
    maven/wagon/trunk/wagon-providers/wagon-ssh-external/pom.xml
    maven/wagon/trunk/wagon-providers/wagon-ssh-external/src/main/java/org/apache/maven/wagon/providers/sshext/ScpExternalWagon.java
    maven/wagon/trunk/wagon-providers/wagon-ssh/pom.xml
    maven/wagon/trunk/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/ScpWagon.java

Modified: maven/wagon/trunk/pom.xml
URL: http://svn.apache.org/viewcvs/maven/wagon/trunk/pom.xml?rev=179342&r1=179341&r2=179342&view=diff
==============================================================================
--- maven/wagon/trunk/pom.xml (original)
+++ maven/wagon/trunk/pom.xml Tue May 31 20:07:06 2005
@@ -4,7 +4,7 @@
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.apache.maven.wagon</groupId>
   <artifactId>wagon</artifactId>
-  <version>1.0-alpha-3</version>
+  <version>1.0-alpha-4-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Maven Wagon</name>
   <description>Tools to manage artifacts and deployment</description>
@@ -18,8 +18,7 @@
   <distributionManagement>
     <repository>
       <id>repo1</id>
-      <url>scp://beaver.codehaus.org/home/projects/maven/repository-staging/to-ibiblio/maven</url>
-      <layout>legacy</layout>
+      <url>scp://beaver.codehaus.org/home/projects/maven/repository-staging/to-ibiblio/maven2</url>
     </repository>
   </distributionManagement>
   <scm>

Modified: maven/wagon/trunk/wagon-providers/wagon-ssh-external/pom.xml
URL: http://svn.apache.org/viewcvs/maven/wagon/trunk/wagon-providers/wagon-ssh-external/pom.xml?rev=179342&r1=179341&r2=179342&view=diff
==============================================================================
--- maven/wagon/trunk/wagon-providers/wagon-ssh-external/pom.xml (original)
+++ maven/wagon/trunk/wagon-providers/wagon-ssh-external/pom.xml Tue May 31 20:07:06 2005
@@ -2,7 +2,7 @@
   <parent>
     <artifactId>wagon-providers</artifactId>
     <groupId>org.apache.maven.wagon</groupId>
-    <version>1.0-alpha-3</version>
+    <version>1.0-alpha-4-SNAPSHOT</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
   <artifactId>wagon-ssh-external</artifactId>

Modified: maven/wagon/trunk/wagon-providers/wagon-ssh-external/src/main/java/org/apache/maven/wagon/providers/sshext/ScpExternalWagon.java
URL: http://svn.apache.org/viewcvs/maven/wagon/trunk/wagon-providers/wagon-ssh-external/src/main/java/org/apache/maven/wagon/providers/sshext/ScpExternalWagon.java?rev=179342&r1=179341&r2=179342&view=diff
==============================================================================
--- maven/wagon/trunk/wagon-providers/wagon-ssh-external/src/main/java/org/apache/maven/wagon/providers/sshext/ScpExternalWagon.java
(original)
+++ maven/wagon/trunk/wagon-providers/wagon-ssh-external/src/main/java/org/apache/maven/wagon/providers/sshext/ScpExternalWagon.java
Tue May 31 20:07:06 2005
@@ -264,12 +264,12 @@
 
         if ( permissions != null && permissions.getGroup() != null )
         {
-            executeCommand( "chgrp " + permissions.getGroup() + " " + basedir + "/" + resourceName
+ "\n" );
+            executeCommand( "chgrp -f " + permissions.getGroup() + " " + basedir + "/" +
resourceName + "\n" );
         }
 
         if ( permissions != null && permissions.getFileMode() != null )
         {
-            executeCommand( "chmod " + permissions.getFileMode() + " " + basedir + "/" +
resourceName + "\n" );
+            executeCommand( "chmod -f " + permissions.getFileMode() + " " + basedir + "/"
+ resourceName + "\n" );
         }
         firePutCompleted( resource, source );
     }

Modified: maven/wagon/trunk/wagon-providers/wagon-ssh/pom.xml
URL: http://svn.apache.org/viewcvs/maven/wagon/trunk/wagon-providers/wagon-ssh/pom.xml?rev=179342&r1=179341&r2=179342&view=diff
==============================================================================
--- maven/wagon/trunk/wagon-providers/wagon-ssh/pom.xml (original)
+++ maven/wagon/trunk/wagon-providers/wagon-ssh/pom.xml Tue May 31 20:07:06 2005
@@ -5,7 +5,7 @@
   <parent>
     <groupId>org.apache.maven.wagon</groupId>
     <artifactId>wagon-providers</artifactId>
-    <version>1.0-alpha-3</version>
+    <version>1.0-alpha-4-SNAPSHOT</version>
   </parent>
   <artifactId>wagon-ssh</artifactId>
   <name>Maven Wagon SSH Provider</name>

Modified: maven/wagon/trunk/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/ScpWagon.java
URL: http://svn.apache.org/viewcvs/maven/wagon/trunk/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/ScpWagon.java?rev=179342&r1=179341&r2=179342&view=diff
==============================================================================
--- maven/wagon/trunk/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/ScpWagon.java
(original)
+++ maven/wagon/trunk/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/ScpWagon.java
Tue May 31 20:07:06 2005
@@ -344,12 +344,12 @@
 
         if ( permissions != null && permissions.getGroup() != null )
         {
-            executeCommand( "chgrp " + permissions.getGroup() + " " + basedir + "/" + resourceName
+ "\n" );
+            executeCommand( "chgrp -f " + permissions.getGroup() + " " + basedir + "/" +
resourceName + "\n" );
         }
 
         if ( permissions != null && permissions.getFileMode() != null )
         {
-            executeCommand( "chmod " + permissions.getFileMode() + " " + basedir + "/" +
resourceName + "\n" );
+            executeCommand( "chmod -f " + permissions.getFileMode() + " " + basedir + "/"
+ resourceName + "\n" );
         }
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: wagon-cvs-unsubscribe@maven.apache.org
For additional commands, e-mail: wagon-cvs-help@maven.apache.org


Mime
View raw message