Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 2.0 (2.2 plugin)
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Windows
-
Complexity:Intermediate
-
Number of attachments :
Description
When a classpath entry has a directory with spaces, surefire booter class doesn't properly create the URL. i.e. it doesn't escape the url's added.
I have attached a patch that would fix this problem.
Issue Links
- is related to
-
SUREFIRE-123
SurefireBooter can initialize classloader with badly formed URLs
-
- is superceded by
-
SUREFIRE-123
SurefireBooter can initialize classloader with badly formed URLs
-
- relates to
-
PLX-220
URLs in container realm are not escaped.
-
-
SUREFIRE-123
SurefireBooter can initialize classloader with badly formed URLs
-
What's your problem? It works for me
mvn -X test
Forking command line:
java -classpath "C:\Documents and Settings\csanchez\.m2\repository\org\apache\maven\surefire\surefire-api\2.0\surefire-api-2.0.jar;C:\Documents and Settings\csanchez\.m2\repository\org\codehaus\plexus\plexus-utils\1.1\plexus-utils-1.1.jar;C:\Documents and Settings\csanchez\.m2\repository\org\apache\maven\surefire\surefire-booter\2.0\surefire-booter-2.0.jar" org.apache.maven.surefire.booter.SurefireBooter c:\DOCUME~1\csanchez\LOCALS~1\Temp\surefire7726tmp c:\DOCUME~1\csanchez\LOCALS~1\Temp\surefire7727tmp