Skip to content

Commit 8074fa7

Browse files
committed
Enable maximum verification during tests.
Closes #1627
1 parent 30bbf01 commit 8074fa7

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

parent/pom.xml

+13-1
Original file line numberDiff line numberDiff line change
@@ -1047,6 +1047,9 @@
10471047
<groupId>org.apache.maven.plugins</groupId>
10481048
<artifactId>maven-failsafe-plugin</artifactId>
10491049
<version>3.0.0-M5</version>
1050+
<configuration>
1051+
<useSystemClassLoader>false</useSystemClassLoader>
1052+
</configuration>
10501053
</plugin>
10511054

10521055
<plugin>
@@ -1197,14 +1200,23 @@
11971200
<groupId>org.apache.maven.plugins</groupId>
11981201
<artifactId>maven-surefire-plugin</artifactId>
11991202
<configuration>
1200-
<useSystemClassLoader>false</useSystemClassLoader>
12011203
<useFile>false</useFile>
1204+
<argLine>-Xverify:all</argLine>
12021205
<includes>
12031206
<include>**/*Tests.java</include>
12041207
</includes>
12051208
</configuration>
12061209
</plugin>
12071210

1211+
<plugin>
1212+
<groupId>org.apache.maven.plugins</groupId>
1213+
<artifactId>maven-failsafe-plugin</artifactId>
1214+
<configuration>
1215+
<useFile>false</useFile>
1216+
<argLine>-Xverify:all</argLine>
1217+
</configuration>
1218+
</plugin>
1219+
12081220
<plugin>
12091221
<groupId>org.apache.maven.plugins</groupId>
12101222
<artifactId>maven-jar-plugin</artifactId>

0 commit comments

Comments
 (0)