Skip to content

Commit bf9feff

Browse files
authored
Fix grammar and punctuation in index.md (#412)
Corrected minor punctuation and grammatical errors in the documentation.
1 parent 65f601b commit bf9feff

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/site/markdown/index.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ mvnw.cmd clean install
5454
```
5555

5656
A normal Maven build will be executed, with the one important change that if the
57-
user doesn't have the necessary version of Maven specified in
57+
user doesn't have the version of Maven specified in
5858
`.mvn/wrapper/maven-wrapper.properties` it will be downloaded for the user
59-
first, installed and then used.
59+
first, installed, and then used.
6060

6161
Subsequent uses of `mvnw`/`mvnw.cmd` use the previously downloaded, specific
6262
version as needed.
@@ -109,14 +109,14 @@ mvn wrapper:wrapper -Dtype=script
109109
Another type is the lite implementation of `mvnw`/`mvnw.cmd` scripts which download the maven directly
110110
via wget or curl on *nix, or PowerShell on Windows, then call the original `mvn`/`mvn.cmd`
111111
scripts of the downloaded maven distribution.
112-
This type does not use `maven-wrapper.jar` nor `MavenWrapperDownloader.java`, only the wrapper scripts are required.
113-
This is the default type being installed, when no type parameter is specified.
112+
This type does not use `maven-wrapper.jar` nor `MavenWrapperDownloader.java`. Only the wrapper scripts are required.
113+
This is the default type being installed when no type parameter is specified.
114114

115115
```shell
116116
mvn wrapper:wrapper -Dtype=only-script
117117
```
118118

119-
If the JAR is not found to be available by the scripts they will attempt to
119+
If the JAR is not found to be available by the scripts, they will attempt to
120120
download the file from the URL specified in
121121
`.mvn/wrapper/maven-wrapper.properties` under `wrapperUrl` and put it in place.
122122
The download is attempted via curl, wget and, as last resort, by compiling the
@@ -136,7 +136,7 @@ using:
136136
mvn wrapper:wrapper -Dmaven=3.5.4
137137
```
138138

139-
which works for any version including snapshots. Once you have a wrapper you can
139+
which works for any version including snapshots. Once you have a wrapper, you can
140140
change its version by setting the `distributionUrl` in
141141
`.mvn/wrapper/maven-wrapper.properties`, e.g.
142142

@@ -166,7 +166,7 @@ options:
166166

167167
## Specifying Maven Distribution Base Path
168168

169-
Environment variable `MAVEN_USER_HOME` can be set to the path which will be used by the wrapper as the base of the Maven distro installation.
169+
The environment variable `MAVEN_USER_HOME` can be set to the path which will be used by the wrapper as the base of the Maven distro installation.
170170
By default, the wrapper uses the `$HOME/.m2` as the base directory for installation.
171171

172172
See https://github.com/takari/maven-wrapper/issues/17

0 commit comments

Comments
 (0)