Skip to content

Commit 0164db6

Browse files
committed
[MSHARED-727] - Upgrade mave-surefire/failsafe-plugin 2.21.0
1 parent 1a41e50 commit 0164db6

File tree

2 files changed

+3
-17
lines changed

2 files changed

+3
-17
lines changed

pom.xml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
<description>Provides utility methods for creating JARs and other archive files from a Maven project.</description>
3535

3636
<properties>
37+
<surefire.version>2.21.0</surefire.version>
3738
<mavenVersion>3.0</mavenVersion>
3839
<javaVersion>7</javaVersion>
3940
</properties>
@@ -123,20 +124,4 @@
123124
</dependency>
124125
</dependencies>
125126

126-
<build>
127-
<pluginManagement>
128-
<plugins>
129-
<plugin>
130-
<groupId>org.apache.maven.plugins</groupId>
131-
<artifactId>maven-surefire-plugin</artifactId>
132-
<version>2.20.1</version>
133-
</plugin>
134-
<plugin>
135-
<groupId>org.apache.maven.plugins</groupId>
136-
<artifactId>maven-failsafe-plugin</artifactId>
137-
<version>2.20.1</version>
138-
</plugin>
139-
</plugins>
140-
</pluginManagement>
141-
</build>
142127
</project>

src/test/java/org/apache/maven/archiver/MavenArchiverTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,8 @@ public void testRecreation()
249249

250250
config.setForced( true );
251251
archiver.createArchive( session, project, config );
252-
assertTrue( jarFile.lastModified() > time );
252+
//I'm not sure if it could only be greater than time or if it is sufficient to be greater or equal..
253+
assertTrue( jarFile.lastModified() >= time );
253254
}
254255

255256
@Test

0 commit comments

Comments
 (0)