You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2023/03/08 19:22:28 UTC

[maven-wrapper] branch MWRAPPER-85 created (now b393939)

This is an automated email from the ASF dual-hosted git repository.

sjaranowski pushed a change to branch MWRAPPER-85
in repository https://gitbox.apache.org/repos/asf/maven-wrapper.git


      at b393939  [MWRAPPER-85] Mention only-script type for binary less installations

This branch includes the following new commits:

     new b393939  [MWRAPPER-85] Mention only-script type for binary less installations

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-wrapper] 01/01: [MWRAPPER-85] Mention only-script type for binary less installations

Posted by sj...@apache.org.
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 <s....@gmail.com>
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.