-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maven command(like install) fails when whitespace in project path #472
Comments
What's the version of maven distribution defined for you mvnw? I remember some older version like 3.5.4 has issue handling quoted whitespaces. See spring-projects/spring-petclinic#404 |
Hi @Eskibear , This is my mvnw version, I think I am using the latest version. But still face the problem. Rgds, |
I cannot reproduce the issue with I'm wondering if it's because of the version of the maven wrapper (not maven distribution) in your project folder.
|
This issue has been closed automatically because it needs more information and has not had recent activity. Please reach out if you have or find the answers we need so that we can investigate further. |
Describe the bug
A clear and concise description of what the bug is.
I refer the issue #304. As it solves the problem on that the path of mvn has whitespace. But my issue is for having a whitespace in the path of project's pom file. As I am useing Microsft one driver, the project is saved in the path like: C:\User\userId\OneDrive - mycompany\my project\pom.xml.
The maven install reports issues:
"c:\Users\userId\OneDrive - mycompany\my project\mvnw.cmd" install -f "c:\Users\userId\OneDrive - mycompany\my project\pom.xml"
'C:\Users\userId\OneDrive' is not recognized as an internal or external command,
operable program or batch file.
I have confirmed the issue isn't because of there being whitespace in the path of mvnw.cmd. It is because of whitespace in the path of pom file.
The text was updated successfully, but these errors were encountered: