You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "slawekjaranowski (via GitHub)" <gi...@apache.org> on 2023/02/19 14:04:31 UTC

[GitHub] [maven-wrapper] slawekjaranowski commented on a diff in pull request #71: [MWRAPPER-85] mention distributionType

slawekjaranowski commented on code in PR #71:
URL: https://github.com/apache/maven-wrapper/pull/71#discussion_r1111243248


##########
src/site/markdown/index.md:
##########
@@ -94,14 +94,25 @@ binary file `.mvn/wrapper/maven-wrapper.jar`. It is used to bootstrap the
 download and invocation of Maven from the wrapper shell scripts.
 
 If your project is not allowed to contain binary files like this, you can
-configure your version control system to exclude checkin/commit of the wrapper
-jar.
+use the source distribution of the maven wrapper which adds a file
+`.mvn/wrapper/MavenWrapperDownloader.java` file instead:
+
+```shell
+# defaults to bin
+mvn wrapper:wrapper -Dtype=source 
+```
+
+You can also chose to opt out of all additional resources except the wrapper scripts:
+
+```shell
+mvn wrapper:wrapper -Dtype=script
+```

Review Comment:
   Should we mention  new `only-script` type here?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org