Some maven-project tests fail under maven-surefire-plugin 2.3
-------------------------------------------------------------

                 Key: MNG-2960
                 URL: http://jira.codehaus.org/browse/MNG-2960
             Project: Maven 2
          Issue Type: Bug
          Components: Bootstrap & Build
    Affects Versions: 2.0.7
         Environment: Windows XP, Cygwin, Java 1.5.0_11
            Reporter: Mark Hobson
         Attachments: patch.txt

When maven-project tests are run on Windows, within a path with spaces, using 
maven-surefire-plugin 2.3, some tests fail with test resource path encoding 
problems.

This appears to be due to maven-surefire-plugin 2.3 using a different context 
classloader to 2.2.  IIRC the system classloader has different behaviour to 
URLClassLoader with regard to escaping spaces, so the attached patch uses the 
correct URL to File conversion.

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

        

Reply via email to