Skip to content

Commit 7d8160c

Browse files
committed
Migrate Maven wrapper to script-only (3.3.4)
Remove the committed maven-wrapper.jar and switch the Maven Wrapper to script-only form (wrapperVersion=3.3.4). Update .mvn/wrapper/maven-wrapper.properties to use distributionType=only-script and point distributionUrl to an aliyun mirror for apache-maven-3.9.9. Add platform wrappers mvnw (unix, executable) and mvnw.cmd (Windows) to download and install the Maven distribution at runtime. This reduces committed binary artifacts and updates the wrapper and Maven versions.
1 parent 4b9765c commit 7d8160c

4 files changed

Lines changed: 487 additions & 16 deletions

File tree

.mvn/wrapper/maven-wrapper.jar

-58.5 KB
Binary file not shown.
Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
1-
# Copyright 2013-2023 the original author or authors.
2-
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
6-
#
7-
# https://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
14-
15-
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.0/apache-maven-3.9.0-bin.zip
16-
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.1/maven-wrapper-3.1.1.jar
1+
wrapperVersion=3.3.4
2+
distributionType=only-script
3+
distributionUrl=https://maven.aliyun.com/repository/public/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip

mvnw

Lines changed: 295 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)