surefire: ignore system classloader to make tests run (#3038)

Due to issue described in Surefix bug:
https://issues.apache.org/jira/browse/SUREFIRE-1588

Debian-based users/developers can no longer build CloudStack 4.11+
branches. The other workaround is to have the following jvm property:
jdk.net.URLClassPath.disableClassPathURLCheck=true

Signed-off-by: Rohit Yadav <rohit@apache.org>
This commit is contained in:
Rohit Yadav 2018-11-20 21:13:44 +05:30 committed by GitHub
parent fb80e51307
commit fbb0d92687
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1047,6 +1047,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>2.18.1</version>
<configuration>
<useSystemClassLoader>false</useSystemClassLoader>
<argLine>-Djava.security.egd=file:/dev/./urandom -noverify</argLine>
</configuration>
</plugin>