MVNW_REPOURL parsing fix for mvnw.cmd (#107)

* MVNW_REPOURL parsing fix for mvnw.cmd
* added PR link
This commit is contained in:
Manfred Moser 2019-02-19 21:14:31 -08:00 committed by rfscholte
parent 0fe726fe63
commit d011e4d6cb
2 changed files with 9 additions and 1 deletions

View File

@ -3,6 +3,14 @@
The [git commit history](https://github.com/takari/maven-wrapper/commits/master) is the detailed source of all changes.
The following provides most information at an easier glance.
## Version 0.5.1 - 2019-02-19
- Coorected check for MVNW_REPOURL in mvnw.cmd
- fixes https://github.com/takari/maven-wrapper/issues/106
- see https://github.com/takari/maven-wrapper/pull/107
- contributed by Manfred Moser http://www.simpligility.com
Release performed by Manfred Moser - http://www.simpligility.com
## Version 0.5.0 - 2019-02-18
- update to Maven 3.6.0 as default

View File

@ -130,7 +130,7 @@ FOR /F "tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-
if exist %WRAPPER_JAR% (
echo Found %WRAPPER_JAR%
) else (
if exist %MVNW_REPOURL% (
if not "%MVNW_REPOURL%" == "" (
SET DOWNLOAD_URL="%MVNW_REPOURL%/io/takari/maven-wrapper/0.5.0/maven-wrapper-0.5.0.jar"
)
echo Couldn't find %WRAPPER_JAR%, downloading it ...