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-unsubscr...@maven.apache.org

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

Reply via email to