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 2022/05/31 17:54:09 UTC

[maven-wrapper] branch master updated: Add doc for type flag

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

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


The following commit(s) were added to refs/heads/master by this push:
     new b37b643  Add doc for type flag
b37b643 is described below

commit b37b643a877137808d4495962e40d53c1bc6cafc
Author: stonar96 <mi...@gmail.com>
AuthorDate: Fri May 20 16:59:59 2022 +0200

    Add doc for type flag
---
 maven-wrapper-plugin/src/site/markdown/usage.md | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/maven-wrapper-plugin/src/site/markdown/usage.md b/maven-wrapper-plugin/src/site/markdown/usage.md
index f842ce3..20df6bf 100644
--- a/maven-wrapper-plugin/src/site/markdown/usage.md
+++ b/maven-wrapper-plugin/src/site/markdown/usage.md
@@ -43,6 +43,8 @@ The downside is that the project will contain a binary file in the source contro
 - **source**: Since Maven already requires Java to run, why not compile and run a classfile to download the maven-wrapper jar? 
 This type comes with a `.mvn/wrapper/MavenWrapperDownloader.java` which will be compiled and executed on the fly.
 
+The type can be specified with `mvn wrapper:wrapper -Dtype=x`, where x is any of the types listed above.
+
 Maven Version
 -------------
 By default the plugin will assume the same version as the Maven runtime (calling `mvn -v`). But you can pick a different version.