You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/02/19 14:05:00 UTC

[jira] [Commented] (MWRAPPER-85) Docs do not mention distributionType for MavenWrapperDownloader.jar

    [ https://issues.apache.org/jira/browse/MWRAPPER-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17690898#comment-17690898 ] 

ASF GitHub Bot commented on MWRAPPER-85:
----------------------------------------

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?





> Docs do not mention distributionType for MavenWrapperDownloader.jar
> -------------------------------------------------------------------
>
>                 Key: MWRAPPER-85
>                 URL: https://issues.apache.org/jira/browse/MWRAPPER-85
>             Project: Maven Wrapper
>          Issue Type: Bug
>    Affects Versions: 3.1.1
>            Reporter: Benjamin Marwell
>            Assignee: Benjamin Marwell
>            Priority: Major
>              Labels: Documentation
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)