maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dant...@apache.org
Subject svn commit: r405173 - in /maven/plugins/trunk/maven-dependency-plugin: pom.xml src/main/java/org/apache/maven/plugin/dependency/utils/DependencyUtil.java
Date Mon, 08 May 2006 21:35:59 GMT
Author: dantran
Date: Mon May  8 14:35:58 2006
New Revision: 405173

URL: http://svn.apache.org/viewcvs?rev=405173&view=rev
Log:
MDEP-4: Support tgz, tbz2, tar.gz, tar.bz2 unpack types

Modified:
    maven/plugins/trunk/maven-dependency-plugin/pom.xml
    maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/utils/DependencyUtil.java

Modified: maven/plugins/trunk/maven-dependency-plugin/pom.xml
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-dependency-plugin/pom.xml?rev=405173&r1=405172&r2=405173&view=diff
==============================================================================
--- maven/plugins/trunk/maven-dependency-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-dependency-plugin/pom.xml Mon May  8 14:35:58 2006
@@ -58,7 +58,7 @@
     <dependency>
       <groupId>org.codehaus.plexus</groupId>
       <artifactId>plexus-archiver</artifactId>
-      <version>1.0-alpha-5</version>
+      <version>1.0-alpha-6</version>
     </dependency>
     <dependency>
       <groupId>org.apache.maven</groupId>

Modified: maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/utils/DependencyUtil.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/utils/DependencyUtil.java?rev=405173&r1=405172&r2=405173&view=diff
==============================================================================
--- maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/utils/DependencyUtil.java
(original)
+++ maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/utils/DependencyUtil.java
Mon May  8 14:35:58 2006
@@ -125,13 +125,11 @@
         throws MojoExecutionException
     {
 
-        String archiveExt = FileUtils.getExtension( file.getAbsolutePath() ).toLowerCase();
-
         try
         {
             UnArchiver unArchiver;
 
-            unArchiver = archiverManager.getUnArchiver( archiveExt );
+            unArchiver = archiverManager.getUnArchiver( file );
 
             unArchiver.setSourceFile( file );
 



Mime
View raw message