This is an automated email from the ASF dual-hosted git repository.
khmarbaise pushed a commit to branch MSHARED-747
in repository https://gitbox.apache.org/repos/asf/maven-archiver.git
The following commit(s) were added to refs/heads/MSHARED-747 by this push:
new 535e234 fixup! fixup! [MSHARED-747] - Upgrade maven-plugins parent to
version 32
535e234 is described below
commit 535e234f0b6ca84d819bee94080152db69c9351e
Author: Karl Heinz Marbaise <[email protected]>
AuthorDate: Sat Jul 28 22:20:10 2018 +0200
fixup! fixup! [MSHARED-747] - Upgrade maven-plugins parent to version 32
---
src/test/java/org/apache/maven/archiver/MavenArchiverTest.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java
b/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java
index c657829..8f640f9 100644
--- a/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java
+++ b/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java
@@ -240,10 +240,12 @@ public class MavenArchiverTest
List<File> files = FileUtils.getFiles( new File(
"target/maven-archiver" ), "**/**", null, true );
for ( File file : files )
{
- file.setLastModified( time );
+ assertTrue(file.setLastModified( time ));
}
archiver.createArchive( session, project, config );
+ // Is the assumption correct that the jar file itself
+ // should have the same last modified time as the files itself ?
assertEquals( jarFile.lastModified(), time );
config.setForced( true );