File tree Expand file tree Collapse file tree 4 files changed +6
-20
lines changed Expand file tree Collapse file tree 4 files changed +6
-20
lines changed Original file line number Diff line number Diff line change 1
- /**
2
- * Copyright 2016-2018 the original author or authors.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
1
/*
17
2
Licensed to the Apache Software Foundation (ASF) under one
18
3
or more contributor license agreements. See the NOTICE file
@@ -43,7 +28,7 @@ public class MavenWrapperDownloader {
43
28
* Default URL to download the maven-wrapper.jar from, if no 'downloadUrl' is provided.
44
29
*/
45
30
private static final String DEFAULT_DOWNLOAD_URL =
46
- "https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.4.0 /maven-wrapper-0.4.0 .jar" ;
31
+ "https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.4.2 /maven-wrapper-0.4.2 .jar" ;
47
32
48
33
/**
49
34
* Path to the maven-wrapper.properties file, which might contain a downloadUrl property to
Original file line number Diff line number Diff line change 1
- distributionUrl =https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip
2
- wrapperUrl =https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.4.0/maven-wrapper-0.4.0.jar
1
+ distributionUrl =https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip
2
+ wrapperUrl =https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.4.2/maven-wrapper-0.4.2.jar
3
+
Original file line number Diff line number Diff line change 212
212
if [ " $MVNW_VERBOSE " = true ]; then
213
213
echo " Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..."
214
214
fi
215
- jarUrl=" https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.4.0 /maven-wrapper-0.4.0 .jar"
215
+ jarUrl=" https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.4.2 /maven-wrapper-0.4.2 .jar"
216
216
while IFS=" =" read key value; do
217
217
case " $key " in (wrapperUrl) jarUrl=" $value " ; break ;;
218
218
esac
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
120
120
set WRAPPER_JAR = " %MAVEN_PROJECTBASEDIR% \.mvn\wrapper\maven-wrapper.jar"
121
121
set WRAPPER_LAUNCHER = org.apache.maven.wrapper.MavenWrapperMain
122
122
123
- set DOWNLOAD_URL = " https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.4.0 /maven-wrapper-0.4.0 .jar"
123
+ set DOWNLOAD_URL = " https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.4.2 /maven-wrapper-0.4.2 .jar"
124
124
FOR /F " tokens=1,2 delims==" %%A IN (%MAVEN_PROJECTBASEDIR% \.mvn\wrapper\maven-wrapper.properties) DO (
125
125
IF " %%A " == " wrapperUrl" SET DOWNLOAD_URL = %%B
126
126
)
You can’t perform that action at this time.
0 commit comments