mirror of https://github.com/apache/maven.git
Update for 0.5.6 release
This commit is contained in:
parent
f02a81cbcc
commit
a66affb12b
|
@ -20,7 +20,7 @@ import java.util.Properties;
|
|||
|
||||
public class MavenWrapperDownloader {
|
||||
|
||||
private static final String WRAPPER_VERSION = "0.5.5";
|
||||
private static final String WRAPPER_VERSION = "0.5.6";
|
||||
/**
|
||||
* 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.3/apache-maven-3.6.3-bin.zip
|
||||
wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar
|
||||
wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar
|
||||
|
||||
|
|
|
@ -4,6 +4,10 @@ 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.5 - 2019-12-04
|
||||
|
||||
- Update to Maven 3.6.3
|
||||
|
||||
## Version 0.5.5 - 2019-04-16
|
||||
|
||||
- Updated default URL to jar in MavenWrapperDownloader
|
||||
|
|
|
@ -14,7 +14,7 @@ The easiest way to setup the Maven Wrapper for your project is to use the
|
|||
the necessary Maven Wrapper files to your project execute the following command:
|
||||
|
||||
```bash
|
||||
mvn -N io.takari:maven:0.7.6:wrapper
|
||||
mvn -N io.takari:maven:0.7.7:wrapper
|
||||
```
|
||||
|
||||
> Note: The default usage should be `mvn -N io.takari:maven:wrapper` but for
|
||||
|
@ -66,7 +66,7 @@ For all those *nix operating systems, various shells should work including
|
|||
* zsh
|
||||
|
||||
In terms of Apache Maven versions itself, the wrapper should work with any Maven
|
||||
3.x version and it defaults to the latest release - currently 3.6.1. We do NOT
|
||||
3.x version and it defaults to the latest release - currently 3.6.3. We do NOT
|
||||
plan to support the deprecated, EOL'ed Maven 2.x.
|
||||
|
||||
The maven-wrapper itself is compiled to work with Java 5. The Takari Maven
|
||||
|
@ -113,7 +113,7 @@ To switch the version of Maven used to build a project you can initialize it
|
|||
using:
|
||||
|
||||
```bash
|
||||
mvn -N io.takari:maven:0.7.6:wrapper -Dmaven=3.3.3
|
||||
mvn -N io.takari:maven:0.7.7:wrapper -Dmaven=3.5.4
|
||||
```
|
||||
|
||||
which works for any version except snapshots. Once you have a wrapper you can
|
||||
|
@ -175,7 +175,7 @@ To test Maven wrapper usage:
|
|||
- use on test project with takari-maven-plugin version
|
||||
|
||||
```bash
|
||||
mvn -N -X io.takari:maven:0.7.6-SNAPSHOT:wrapper
|
||||
mvn -N -X io.takari:maven:0.7.7-SNAPSHOT:wrapper
|
||||
```
|
||||
|
||||
For release
|
||||
|
|
|
@ -212,9 +212,9 @@ else
|
|||
echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..."
|
||||
fi
|
||||
if [ -n "$MVNW_REPOURL" ]; then
|
||||
jarUrl="$MVNW_REPOURL/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar"
|
||||
jarUrl="$MVNW_REPOURL/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar"
|
||||
else
|
||||
jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar"
|
||||
jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.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.5/maven-wrapper-0.5.5.jar"
|
||||
set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar"
|
||||
FOR /F "tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO (
|
||||
IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B
|
||||
)
|
||||
|
@ -133,7 +133,7 @@ if exist %WRAPPER_JAR% (
|
|||
)
|
||||
) else (
|
||||
if not "%MVNW_REPOURL%" == "" (
|
||||
SET DOWNLOAD_URL="%MVNW_REPOURL%/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar"
|
||||
SET DOWNLOAD_URL="%MVNW_REPOURL%/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar"
|
||||
)
|
||||
if "%MVNW_VERBOSE%" == "true" (
|
||||
echo Couldn't find %WRAPPER_JAR%, downloading it ...
|
||||
|
|
Loading…
Reference in New Issue