Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
3.3.9
-
None
-
None
Description
On any version of Windows, copy any valid maven project to a directory whose name contains an ampersand (e.g. "C:\Users\myname\projects & stuff\mavenproject"). CD to the project directory and run "mvn clean install".
Expected result:
Build proceeds normally
Actual result:
Build fails with output similar to:
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
'stuff' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.141 s
[INFO] Finished at: 2016-04-12T01:41:56+00:00
[INFO] Final Memory: 6M/58M
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (C:). Please verify you invoked Maven from the correct direc
tory. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException
Attachments
Issue Links
- duplicates
-
MNG-5962 mvn.cmd fails when the current directory has spaces in between
- Closed