[MWRAPPER-41] fix missing goals documentation (+ small improvements)
diff --git a/maven-wrapper-distribution/src/site/apt/index.apt.vm b/maven-wrapper-distribution/src/site/apt/index.apt.vm
index dfb6ed3..16fffc0 100644
--- a/maven-wrapper-distribution/src/site/apt/index.apt.vm
+++ b/maven-wrapper-distribution/src/site/apt/index.apt.vm
@@ -37,15 +37,15 @@
but every distribution has specific content to manage different strategies to get {{{../maven-wrapper/}<<<maven-wrapper.jar>>>}}:
- - <<<script>>> (default): <<<mvnw>>>/<<<mvnw.cmd>>> scripts will download {{{../maven-wrapper/}<<<maven-wrapper.jar>>>}} with <<<wget>>> or <<<curl>>> on Unix or PowerShell on Windows
+ - <<<script>>>: <<<mvnw>>>/<<<mvnw.cmd>>> scripts will download {{{../maven-wrapper/}<<<maven-wrapper.jar>>>}} with <<<wget>>> or <<<curl>>> on *nix, or PowerShell on Windows
- - <<<bin>>>: no need to download <<<maven-wrapper.jar>>> binary, it is directly provided and used from project source tree:
+ - <<<bin>>> (default): no need to download <<<maven-wrapper.jar>>> binary, it is directly provided and used from project source tree (if stored in source control):
----
.mvn/wrapper/maven-wrapper.jar
----
- - <<<source>>>: <<<mvnw>>>/<<<mvnw.cmd>>> scripts will compile <<<MavenWrapperDownloader.java>>> source then run the class to download {{{../maven-wrapper/}<<<maven-wrapper.jar>>>}}:
+ - <<<source>>>: on *nix, if <<<wget>>> and <<<curl>>> are not availabe, <<<mvnw>>> script will compile <<<MavenWrapperDownloader.java>>> source then run the class to download {{{../maven-wrapper/}<<<maven-wrapper.jar>>>}}:
----
.mvn/wrapper/MavenWrapperDownloader.java
diff --git a/maven-wrapper-plugin/pom.xml b/maven-wrapper-plugin/pom.xml
index 13c6bb1..b095b0f 100644
--- a/maven-wrapper-plugin/pom.xml
+++ b/maven-wrapper-plugin/pom.xml
@@ -100,6 +100,15 @@
</plugins>
</build>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-plugin-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </reporting>
+
<profiles>
<profile>
<id>run-its</id>
diff --git a/maven-wrapper-plugin/src/site/markdown/index.md.vm b/maven-wrapper-plugin/src/site/markdown/index.md.vm
index 8746af6..5d16a6d 100644
--- a/maven-wrapper-plugin/src/site/markdown/index.md.vm
+++ b/maven-wrapper-plugin/src/site/markdown/index.md.vm
@@ -24,8 +24,8 @@
--------------
- * [wrapper:wrapper](./wrapper-mojo.html) is the default goal invoked during the
- `wrapper` phase. It downloads and unpacks the maven-wrapper distribution,
+ * [wrapper:wrapper](./wrapper-mojo.html) is the default goal, invoked during the
+ `wrapper` phase in Maven 4. It downloads and unpacks the maven-wrapper distribution,
Usage
-----