maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bri...@apache.org
Subject svn commit: r492029 - in /maven/plugins/trunk/maven-dependency-plugin: pom.xml src/test/java/org/apache/maven/plugin/dependency/fromConfiguration/TestUnpackMojo.java
Date Wed, 03 Jan 2007 02:55:20 GMT
Author: brianf
Date: Tue Jan  2 18:55:19 2007
New Revision: 492029

URL: http://svn.apache.org/viewvc?view=rev&rev=492029
Log:
fixed linux test failure and corrected pom name.

Modified:
    maven/plugins/trunk/maven-dependency-plugin/pom.xml
    maven/plugins/trunk/maven-dependency-plugin/src/test/java/org/apache/maven/plugin/dependency/fromConfiguration/TestUnpackMojo.java

Modified: maven/plugins/trunk/maven-dependency-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/pom.xml?view=diff&rev=492029&r1=492028&r2=492029
==============================================================================
--- maven/plugins/trunk/maven-dependency-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-dependency-plugin/pom.xml Tue Jan  2 18:55:19 2007
@@ -29,7 +29,7 @@
 	<groupId>org.apache.maven.plugins</groupId>
 	<artifactId>maven-dependency-plugin</artifactId>
 	<packaging>maven-plugin</packaging>
-	<name>Dependency Maven Plugin</name>
+	<name>Maven Dependency Plugin</name>
 	<version>2.0-alpha-1-SNAPSHOT</version>
 	<prerequisites>
 		<maven>2.0.3</maven>

Modified: maven/plugins/trunk/maven-dependency-plugin/src/test/java/org/apache/maven/plugin/dependency/fromConfiguration/TestUnpackMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/test/java/org/apache/maven/plugin/dependency/fromConfiguration/TestUnpackMojo.java?view=diff&rev=492029&r1=492028&r2=492029
==============================================================================
--- maven/plugins/trunk/maven-dependency-plugin/src/test/java/org/apache/maven/plugin/dependency/fromConfiguration/TestUnpackMojo.java
(original)
+++ maven/plugins/trunk/maven-dependency-plugin/src/test/java/org/apache/maven/plugin/dependency/fromConfiguration/TestUnpackMojo.java
Tue Jan  2 18:55:19 2007
@@ -500,16 +500,11 @@
 
         // round down to the last second
         long time = System.currentTimeMillis();
-        Log log = mojo.getLog();
-        log.error("Original Time:"+time);
         time = time - ( time % 1000 );
-        log.error("Mod Time:"+time);
         //go back 10 more seconds for linux
         time-=10000;
-        log.error("Old Time:"+time);
         // set to known value
         unpackedFile.setLastModified( time );
-        log.error("Unpacked Time:"+unpackedFile.lastModified());
         // set source to be newer
         artifact.getFile().setLastModified( time + 4000 );
         
@@ -517,13 +512,8 @@
         File marker = new File( mojo.getMarkersDirectory(), artifact.getId().replace( ':',
'-' ) + ".marker" );
         marker.setLastModified(time);
         
-        log.error("Source Time: "+artifact.getFile().lastModified());
-        log.error("Marker Time: "+marker.lastModified());
         assertTrue( time == unpackedFile.lastModified() );
-        log.error("Executing...");
-        mojo.execute();
-        log.error("Unpacked Time After:"+unpackedFile.lastModified());
-        
+        mojo.execute();  
         assertTrue( time != unpackedFile.lastModified() );
     }
 



Mime
View raw message