mirror of https://github.com/apache/maven.git
prep for 0.5.1 release
This commit is contained in:
parent
3c84a93f77
commit
7bb1083d0f
|
@ -20,7 +20,7 @@ import java.util.Properties;
|
|||
|
||||
public class MavenWrapperDownloader {
|
||||
|
||||
private static final String WRAPPER_VERSION = "0.5.0";
|
||||
private static final String WRAPPER_VERSION = "0.5.1";
|
||||
/**
|
||||
* Default URL to download the maven-wrapper.jar from, if no 'downloadUrl' is provided.
|
||||
*/
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.0/apache-maven-3.6.0-bin.zip
|
||||
wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.0/maven-wrapper-0.5.0.jar
|
||||
wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.1/maven-wrapper-0.5.1.jar
|
||||
|
||||
|
|
|
@ -1,14 +1,16 @@
|
|||
# Changelog
|
||||
|
||||
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.
|
||||
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
|
||||
- Corrected 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
|
||||
|
|
|
@ -212,9 +212,9 @@ else
|
|||
echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..."
|
||||
fi
|
||||
if [ "$MVNW_REPOURL" = true]; then
|
||||
jarUrl="$MVNW_REPOURL/io/takari/maven-wrapper/0.5.0/maven-wrapper-0.5.0.jar"
|
||||
jarUrl="$MVNW_REPOURL/io/takari/maven-wrapper/0.5.1/maven-wrapper-0.5.1.jar"
|
||||
else
|
||||
jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.0/maven-wrapper-0.5.0.jar"
|
||||
jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.1/maven-wrapper-0.5.1.jar"
|
||||
fi
|
||||
while IFS="=" read key value; do
|
||||
case "$key" in (wrapperUrl) jarUrl="$value"; break ;;
|
||||
|
|
|
@ -120,7 +120,7 @@ SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
|
|||
set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar"
|
||||
set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
|
||||
|
||||
set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.0/maven-wrapper-0.5.0.jar"
|
||||
set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.1/maven-wrapper-0.5.1.jar"
|
||||
FOR /F "tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO (
|
||||
IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B
|
||||
)
|
||||
|
@ -131,7 +131,7 @@ if exist %WRAPPER_JAR% (
|
|||
echo Found %WRAPPER_JAR%
|
||||
) else (
|
||||
if not "%MVNW_REPOURL%" == "" (
|
||||
SET DOWNLOAD_URL="%MVNW_REPOURL%/io/takari/maven-wrapper/0.5.0/maven-wrapper-0.5.0.jar"
|
||||
SET DOWNLOAD_URL="%MVNW_REPOURL%/io/takari/maven-wrapper/0.5.1/maven-wrapper-0.5.1.jar"
|
||||
)
|
||||
echo Couldn't find %WRAPPER_JAR%, downloading it ...
|
||||
echo Downloading from: %DOWNLOAD_URL%
|
||||
|
|
Loading…
Reference in New Issue