From f10e57852cbbabf6ee8b877ba5332874cc200e25 Mon Sep 17 00:00:00 2001 From: Manfred Moser Date: Mon, 19 Feb 2018 21:25:03 -0800 Subject: [PATCH] updated to new wrapper version in default URLs --- maven-wrapper/.mvn/wrapper/MavenWrapperDownloader.java | 2 +- maven-wrapper/mvnw | 2 +- maven-wrapper/mvnw.cmd | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/maven-wrapper/.mvn/wrapper/MavenWrapperDownloader.java b/maven-wrapper/.mvn/wrapper/MavenWrapperDownloader.java index 5690ab6245..d475a89ce1 100644 --- a/maven-wrapper/.mvn/wrapper/MavenWrapperDownloader.java +++ b/maven-wrapper/.mvn/wrapper/MavenWrapperDownloader.java @@ -28,7 +28,7 @@ public class MavenWrapperDownloader { * Default URL to download the maven-wrapper.jar from, if no 'downloadUrl' is provided. */ private static final String DEFAULT_DOWNLOAD_URL = - "https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.3.0/maven-wrapper-0.3.0.jar"; + "https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.4.0/maven-wrapper-0.4.0.jar"; /** * Path to the maven-wrapper.properties file, which might contain a downloadUrl property to diff --git a/maven-wrapper/mvnw b/maven-wrapper/mvnw index 07ff2d48d2..961a825001 100755 --- a/maven-wrapper/mvnw +++ b/maven-wrapper/mvnw @@ -212,7 +212,7 @@ else if [ "$MVNW_VERBOSE" = true ]; then echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..." fi - jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.3.0/maven-wrapper-0.3.0.jar" + jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.4.0/maven-wrapper-0.4.0.jar" while IFS="=" read key value; do case "$key" in (wrapperUrl) jarUrl="$value"; break ;; esac diff --git a/maven-wrapper/mvnw.cmd b/maven-wrapper/mvnw.cmd index 20dbbfa3d8..03d90e960b 100644 --- a/maven-wrapper/mvnw.cmd +++ b/maven-wrapper/mvnw.cmd @@ -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.2.3/maven-wrapper-0.2.3.jar" +set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.4.0/maven-wrapper-0.4.0.jar" FOR /F "tokens=1,2 delims==" %%A IN (%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties) DO ( IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B )