Skip to content

Commit 0ba9a18

Browse files
vpavicsnicoll
authored andcommittedJan 17, 2016
Document use of maven wrapper
Closes spring-projectsgh-4956
1 parent 0f2c25c commit 0ba9a18

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed
 

‎CONTRIBUTING.adoc

+5-5
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ The project can be built from the root directory using the standard maven comman
7676

7777
[indent=0]
7878
----
79-
$ mvn clean install
79+
$ ./mvnw clean install
8080
----
8181

8282
NOTE: You may need to increase the amount of memory available to Maven by setting
@@ -87,7 +87,7 @@ to submit a pull request:
8787

8888
[indent=0]
8989
----
90-
$ mvn clean install -DskipTests
90+
$ ./mvnw clean install -DskipTests
9191
----
9292

9393

@@ -113,7 +113,7 @@ build. To prepare the build, from the root directory use:
113113

114114
[indent=0]
115115
----
116-
$ mvn -P snapshot,prepare install -DskipTests
116+
$ ./mvnw -P snapshot,prepare install -DskipTests
117117
----
118118

119119
NOTE: You may notice that preparing the build also changes the
@@ -126,7 +126,7 @@ Once the build has been prepared, you can run a full build using the following c
126126

127127
[indent=0]
128128
----
129-
$ mvn -s ./settings.xml -f spring-boot-full-build -P full clean install
129+
$ ./mvnw -s ./settings.xml -f spring-boot-full-build -P full clean install
130130
----
131131

132132
NOTE: As for the standard build, you may need to increase the amount of memory available
@@ -200,7 +200,7 @@ following command:
200200

201201
[indent=0]
202202
----
203-
$ mvn eclipse:eclipse
203+
$ ./mvnw eclipse:eclipse
204204
----
205205

206206
The generated eclipse projects can be imported by selecting `import existing projects`

‎README.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,14 +124,14 @@ available so you need to build that first since it's not generated by default.
124124

125125
[indent=0]
126126
----
127-
$ mvn clean install -pl spring-boot-tools/spring-boot-maven-plugin -Pdefault,full
127+
$ ./mvnw clean install -pl spring-boot-tools/spring-boot-maven-plugin -Pdefault,full
128128
----
129129

130130
Once this is done, you can build the reference documentation with the command below:
131131

132132
[indent=0]
133133
----
134-
$ mvn clean install -pl spring-boot-docs -Pdefault,full
134+
$ ./mvnw clean install -pl spring-boot-docs -Pdefault,full
135135
----
136136

137137
TIP: The generated documentation is available from `spring-boot-docs/target/contents/reference`

0 commit comments

Comments
 (0)
Please sign in to comment.