apache / apache/maven-surefire
[SUREFIRE-1810] Surefire plugin SurefireBooterForkException if path has Spaces in the name
- Dominant language
- Java
- Stars
- 461
- Forks
- 588
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 19
Description
**[Tiago Jorge Proença Gaspar Casinhas](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=heatmanofurioso)** opened **[SUREFIRE-1810](https://issues.apache.org/jira/browse/SUREFIRE-1810?redirect=false)** and commented
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.
---
**Affects:** 3.0.0-M4
**Attachments:**
- [2020-06-26T09-50-50_242.dumpstream](https://issues.apache.org/jira/secure/attachment/13006483/2020-06-26T09-50-50_242.dumpstream) (_258 bytes_)
- [dump2.txt](https://issues.apache.org/jira/secure/attachment/13006437/dump2.txt) (_776.15 kB_)
**Issue Links:**
- [SUREFIRE-2225](https://issues.apache.org/jira/browse/SUREFIRE-2225) Surefire ITs fail when project directory contains space
(_**"causes"**_)
**Remote Links:**
- [jacoco issue #1559
](https://github.com/jacoco/jacoco/issues/1559)
Contributor guide
Research direction
Reproduce the failure with `mvn clean install` from a project path containing spaces, such as the reported `My Project` path. Read the attached `2020-06-26T09-50-50_242.dumpstream` and `dump2.txt` files, and consider the linked SUREFIRE-2225 context; done means the verify-phase build succeeds without a SurefireBooterForkException when the path contains spaces.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100