Skip to content
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

Make the Maven wrapper call mvn.cmd and fall back to mvn.bat #263

Merged
merged 1 commit into from
Jan 7, 2017
Merged

Make the Maven wrapper call mvn.cmd and fall back to mvn.bat #263

merged 1 commit into from
Jan 7, 2017

Conversation

sschuberth
Copy link
Contributor

Starting with Maven 3.3.1, mvn.bat was replaced with mvn.cmd. So try the
more modern .cmd first, and use the .bat only as a fall-back.

Starting with Maven 3.3.1, mvn.bat was replaced with mvn.cmd. So try the
more modern .cmd first, and use the .bat only as a fall-back.

This also fixes the issue that arguments to mvnw were not properly passed
to mvn.
@kdykeman kdykeman merged commit e044706 into pivotal:master Jan 7, 2017
@sschuberth sschuberth deleted the mvn-bat-vs-cmd branch January 7, 2017 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants