maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1152383 - /maven/plugins/trunk/maven-dependency-plugin/src/test/java/org/apache/maven/plugin/dependency/fromConfiguration/TestUnpackMojo.java
Date Fri, 29 Jul 2011 21:54:10 GMT
Author: struberg
Date: Fri Jul 29 21:54:10 2011
New Revision: 1152383

URL: http://svn.apache.org/viewvc?rev=1152383&view=rev
Log:
not sure why this test is broken on CI, but now we liminate side effects

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

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?rev=1152383&r1=1152382&r2=1152383&view=diff
==============================================================================
--- 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
Fri Jul 29 21:54:10 2011
@@ -533,7 +533,8 @@ public class TestUnpackMojo
         displayFile( "artifact    ", artifact.getFile() );
         displayFile( "marker      ", marker );
         System.out.println( "marker.lastModified() = " + time );
-        System.out.println( "unpackedFile.lastModified() = " + unpackedFile.lastModified()
);
+        long unpackedFileTime = unpackedFile.lastModified();
+        System.out.println( "unpackedFile.lastModified() = " + unpackedFileTime );
         assertTrue( "unpackedFile '" + unpackedFile + "' lastModified() == " + time + ":
should be different",
                     time != unpackedFile.lastModified() );
     }



Mime
View raw message