This is an automated email from the ASF dual-hosted git repository. sjaranowski pushed a commit to branch MWRAPPER-85 in repository https://gitbox.apache.org/repos/asf/maven-wrapper.git
commit b3939398fdf7974dc696559fdf41c206851478dd Author: Slawomir Jaranowski <[email protected]> AuthorDate: Wed Mar 8 20:21:40 2023 +0100 [MWRAPPER-85] Mention only-script type for binary less installations --- src/site/markdown/index.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/site/markdown/index.md b/src/site/markdown/index.md index a3c4eba..b3fb504 100644 --- a/src/site/markdown/index.md +++ b/src/site/markdown/index.md @@ -108,6 +108,15 @@ You can also chose to opt out of all additional resources except the wrapper scr mvn wrapper:wrapper -Dtype=script ``` +Another type is the lite implementation of `mvnw`/`mvnw.cmd` scripts which download the maven directly +via wget or curl on *nix, or PowerShell on Windows, then call the original `mvn`/`mvn.cmd` +scripts of the downloaded maven distribution. +This type does not use `maven-wrapper.jar` nor `MavenWrapperDownloader.java`, only the wrapper scripts are required. + +```shell +mvn wrapper:wrapper -Dtype=only-script +``` + If the JAR is not found to be available by the scripts they will attempt to download the file from the URL specified in `.mvn/wrapper/maven-wrapper.properties` under `wrapperUrl` and put it in place.
