Skip to content
This repository was archived by the owner on Feb 12, 2023. It is now read-only.

Commit aa4d826

Browse files
committed
updating mvn wrapper
1 parent 728f0d0 commit aa4d826

File tree

6 files changed

+137
-149
lines changed

6 files changed

+137
-149
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ pom.xml.next
1111
release.properties
1212
dependency-reduced-pom.xml
1313
buildNumber.properties
14+
*.log
1415

1516
### STS ###
1617
.apt_generated

Diff for: .mvn/wrapper/MavenWrapperDownloader.java

+8-9
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,31 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2007-present the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* https://www.apache.org/licenses/LICENSE-2.0
8+
* http://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
1212
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
1716
import java.net.*;
1817
import java.io.*;
1918
import java.nio.channels.*;
2019
import java.util.Properties;
2120

2221
public class MavenWrapperDownloader {
2322

24-
private static final String WRAPPER_VERSION = "0.5.5";
23+
private static final String WRAPPER_VERSION = "0.5.6";
2524
/**
2625
* Default URL to download the maven-wrapper.jar from, if no 'downloadUrl' is provided.
2726
*/
2827
private static final String DEFAULT_DOWNLOAD_URL = "https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/"
29-
+ WRAPPER_VERSION + "/maven-wrapper-" + WRAPPER_VERSION + ".jar";
28+
+ WRAPPER_VERSION + "/maven-wrapper-" + WRAPPER_VERSION + ".jar";
3029

3130
/**
3231
* Path to the maven-wrapper.properties file, which might contain a downloadUrl property to
@@ -55,7 +54,7 @@ public static void main(String args[]) {
5554
// wrapperUrl parameter.
5655
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
5756
String url = DEFAULT_DOWNLOAD_URL;
58-
if (mavenWrapperPropertyFile.exists()) {
57+
if(mavenWrapperPropertyFile.exists()) {
5958
FileInputStream mavenWrapperPropertyFileInputStream = null;
6059
try {
6160
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
@@ -66,7 +65,7 @@ public static void main(String args[]) {
6665
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
6766
} finally {
6867
try {
69-
if (mavenWrapperPropertyFileInputStream != null) {
68+
if(mavenWrapperPropertyFileInputStream != null) {
7069
mavenWrapperPropertyFileInputStream.close();
7170
}
7271
} catch (IOException e) {
@@ -77,8 +76,8 @@ public static void main(String args[]) {
7776
System.out.println("- Downloading from: " + url);
7877

7978
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
80-
if (!outputFile.getParentFile().exists()) {
81-
if (!outputFile.getParentFile().mkdirs()) {
79+
if(!outputFile.getParentFile().exists()) {
80+
if(!outputFile.getParentFile().mkdirs()) {
8281
System.out.println(
8382
"- ERROR creating output directory '" + outputFile.getParentFile().getAbsolutePath() + "'");
8483
}

Diff for: .mvn/wrapper/maven-wrapper.jar

0 Bytes
Binary file not shown.

Diff for: .mvn/wrapper/maven-wrapper.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.2/apache-maven-3.6.2-bin.zip
2-
wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar
1+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip
2+
wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar

0 commit comments

Comments
 (0)