From c74947a8eca6a16ca8fadc48ff38ae0d96ea1ce9 Mon Sep 17 00:00:00 2001 From: Elliotte Harold Date: Mon, 16 Nov 2020 10:29:48 -0500 Subject: [PATCH] last modified time is platform dependent and not a simpler property of an object --- src/test/java/org/apache/maven/archiver/MavenArchiverTest.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java b/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java index dde6bac..b4f16bf 100644 --- a/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java +++ b/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java @@ -274,8 +274,6 @@ public void testRecreation() archiver.createArchive( session, project, config ); - assertThat( history ).as( "History " + history + " time:" + time ).isEqualTo( jarFile.lastModified() ); - config.setForced( true ); archiver.createArchive( session, project, config ); // I'm not sure if it could only be greater than time or if it is sufficient to be greater or equal..