This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch 4.11
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.11 by this push:
     new fbb0d92  surefire: ignore system classloader to make tests run (#3038)
fbb0d92 is described below

commit fbb0d926877d674f21d3c16964240fc317f37598
Author: Rohit Yadav <[email protected]>
AuthorDate: Tue Nov 20 21:13:44 2018 +0530

    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 <[email protected]>
---
 pom.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pom.xml b/pom.xml
index b16ba58..73d14fe 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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>

Reply via email to