From cccd8b0702d6921773d7952980ab964d7637a187 Mon Sep 17 00:00:00 2001 From: Manfred Moser Date: Tue, 16 Apr 2019 20:50:24 -0700 Subject: [PATCH] more details about what happens for users --- maven-wrapper/README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/maven-wrapper/README.md b/maven-wrapper/README.md index 3de41ca4bc..ea93ee1d3d 100644 --- a/maven-wrapper/README.md +++ b/maven-wrapper/README.md @@ -21,7 +21,8 @@ mvn -N io.takari:maven:0.7.6:wrapper > some users this seem to result in usage of an old version of the wrapper and > therefore installation of older Maven defaults and so on. -Normally you instruct users to run the `mvn` command like the following: +Normally you instruct users to install a specific version of Apache Maven, put +it on the PATH and then run the `mvn` command like the following: ```bash mvn clean install @@ -43,7 +44,10 @@ mvnw.cmd clean install A normal Maven build will be executed with the one important change that if the user doesn't have the necessary version of Maven specified in `.mvn/wrapper/maven-wrapper.properties` it will be downloaded for the user -first. +first, installed and then used. + +Subsequent uses of `mvn`/`mvnw.cmd` use the previously downloaded, specific +version as needed. ## Supported Systems