File tree Expand file tree Collapse file tree 2 files changed +3
-17
lines changed
src/test/java/org/apache/maven/archiver Expand file tree Collapse file tree 2 files changed +3
-17
lines changed Original file line number Diff line number Diff line change 34
34
<description >Provides utility methods for creating JARs and other archive files from a Maven project.</description >
35
35
36
36
<properties >
37
+ <surefire .version>2.21.0</surefire .version>
37
38
<mavenVersion >3.0</mavenVersion >
38
39
<javaVersion >7</javaVersion >
39
40
</properties >
123
124
</dependency >
124
125
</dependencies >
125
126
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 >
142
127
</project >
Original file line number Diff line number Diff line change @@ -249,7 +249,8 @@ public void testRecreation()
249
249
250
250
config .setForced ( true );
251
251
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 );
253
254
}
254
255
255
256
@ Test
You can’t perform that action at this time.
0 commit comments