[jboss-jira] [JBoss JIRA] Closed: (JBBUILD-352) VFS tests fail under mvn

Paul Gier (JIRA) jira-events at lists.jboss.org
Wed Mar 28 12:40:59 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBBUILD-352?page=all ]

Paul Gier closed JBBUILD-352.
-----------------------------

    Resolution: Done

Changing the maven surefire plugin to use the system class loader fixed the problem.
I believe the problem was caused by the way that the URL class loads custom protocol handlers.
I also removed the system property setting from the surefire plugin because this property is set in the application.

> VFS tests fail under mvn
> ------------------------
>
>                 Key: JBBUILD-352
>                 URL: http://jira.jboss.com/jira/browse/JBBUILD-352
>             Project: JBoss Build System
>          Issue Type: Bug
>          Components: Maven
>            Reporter: Scott M Stark
>         Assigned To: Paul Gier
>
> When doing the vfs project build, many tests are failing because the java.protocol.handler.pkgs is not seeing the org.jboss.virtual.protocol package. This is present in the project pom.xml maven-surefire-plugin section though:
>           <systemProperties>
>             <property>
>               <name>java.protocol.handler.pkgs</name>
>               <value>org.jboss.virtual.protocol</value>
>             </property>
>           </systemProperties>
> These tests run fine without any system property settings under eclipse.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list