[ 
https://issues.apache.org/jira/browse/SUREFIRE-1810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17145907#comment-17145907
 ] 

Tibor Digana commented on SUREFIRE-1810:
----------------------------------------

So this has happened with oder versions, right?
I think you do not have a trivial project. The best would be to has a 
reproducible project. There can be anything, as for instance the value for 
{{java.library.path}} without quation marks. Can you remove 
{{java.library.path}} and trigger the build again? Pls try to selectively find 
out what configuration has the impact.
See the command generated by the plugin for the forked JVM:

DEBUG] Forking command line: cmd.exe /X /C ""C:\Program 
Files\Java\jdk-11.0.7\bin\java" 
"-javaagent:C:\\Users\\tcasinhas\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.5\\org.jacoco.agent-0.8.5-runtime.jar=destfile=C:\\Users\\tcasinhas\\Documents\\Git\\myProject
 Project\\sph-casetailor-casekyccddrev\\context\\target\\jacoco.exec" -Xms256m 
-Xmx2048m -Djava.library.path=C:\Users\tcasinhas\Documents\Git\myProject 
Project\sph-casetailor-casekyccddrev\context/src/main/resources -jar 
C:\Users\tcasinhas\AppData\Local\Temp\surefire15607811385043291315\surefirebooter8971421395593209028.jar
 C:\Users\tcasinhas\AppData\Local\Temp\surefire15607811385043291315 
2020-06-25T15-53-40_752-jvmRun1 surefire9337630129089547810tmp 
surefire_014954193359782199934tmp"

> Surefire plugin SurefireBooterForkException if path has Spaces in the name
> --------------------------------------------------------------------------
>
>                 Key: SUREFIRE-1810
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1810
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Plugin
>    Affects Versions: 3.0.0-M4
>         Environment: OS:      Microsoft Windows 10 Pro 10.0.19041 Build 19041
> Maven: 3.6.3
> Java: "11.0.7" 2020-04-14 LTS | Java(TM) SE Runtime Environment 18.9 (build 
> 11.0.7+8-LTS) | Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.7+8-LTS, 
> mixed mode)
>            Reporter: Tiago Jorge Proença Gaspar Casinhas
>            Priority: Major
>              Labels: newbie
>         Attachments: dump2.txt
>
>
> When I attempt to run tests using `mvn clean install` or similar commands 
> that run through the verify phase, I get a SurefireBooterForkException if the 
> path to my project contains any space.
> Example: +C:\Users\tcasinhas\Documents\Git\My Project\mproj-subproj-cases+
>  
> If I remove the space, the build runs sucessfully.
> Example: +C:\Users\tcasinhas\Documents\Git\My-Project\mproj-subproj-cases+
> Notes:
>  I ommited the company and project name, but left everything else in the dump 
> as is.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to