Skip to content

Commit 085dd1b

Browse files
committed
[MWRAPPER-41] fix missing goals documentation (+ small improvements)
1 parent aa0e40f commit 085dd1b

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

maven-wrapper-distribution/src/site/apt/index.apt.vm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ mvnw.cmd
3737

3838
but every distribution has specific content to manage different strategies to get {{{../maven-wrapper/}<<<maven-wrapper.jar>>>}}:
3939

40-
- <<<script>>> (default): <<<mvnw>>>/<<<mvnw.cmd>>> scripts will download {{{../maven-wrapper/}<<<maven-wrapper.jar>>>}} with <<<wget>>> or <<<curl>>> on Unix or PowerShell on Windows
40+
- <<<script>>>: <<<mvnw>>>/<<<mvnw.cmd>>> scripts will download {{{../maven-wrapper/}<<<maven-wrapper.jar>>>}} with <<<wget>>> or <<<curl>>> on *nix, or PowerShell on Windows
4141

42-
- <<<bin>>>: no need to download <<<maven-wrapper.jar>>> binary, it is directly provided and used from project source tree:
42+
- <<<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):
4343

4444
----
4545
.mvn/wrapper/maven-wrapper.jar
4646
----
4747

48-
- <<<source>>>: <<<mvnw>>>/<<<mvnw.cmd>>> scripts will compile <<<MavenWrapperDownloader.java>>> source then run the class to download {{{../maven-wrapper/}<<<maven-wrapper.jar>>>}}:
48+
- <<<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>>>}}:
4949

5050
----
5151
.mvn/wrapper/MavenWrapperDownloader.java

maven-wrapper-plugin/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,15 @@ under the License.
100100
</plugins>
101101
</build>
102102

103+
<reporting>
104+
<plugins>
105+
<plugin>
106+
<groupId>org.apache.maven.plugins</groupId>
107+
<artifactId>maven-plugin-plugin</artifactId>
108+
</plugin>
109+
</plugins>
110+
</reporting>
111+
103112
<profiles>
104113
<profile>
105114
<id>run-its</id>

maven-wrapper-plugin/src/site/markdown/index.md.vm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ Goals Overview
2424
--------------
2525

2626

27-
* [wrapper:wrapper](./wrapper-mojo.html) is the default goal invoked during the
28-
`wrapper` phase. It downloads and unpacks the maven-wrapper distribution,
27+
* [wrapper:wrapper](./wrapper-mojo.html) is the default goal, invoked during the
28+
`wrapper` phase in Maven 4. It downloads and unpacks the maven-wrapper distribution,
2929

3030
Usage
3131
-----

0 commit comments

Comments
 (0)