From 0ba9a18cf26a9abfbae014bc038aecdbcc27aebb Mon Sep 17 00:00:00 2001 From: Vedran Pavic Date: Sat, 16 Jan 2016 23:22:40 +0100 Subject: [PATCH] Document use of maven wrapper Closes gh-4956 --- CONTRIBUTING.adoc | 10 +++++----- README.adoc | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CONTRIBUTING.adoc b/CONTRIBUTING.adoc index 99c9b5505a..77b151e4fe 100755 --- a/CONTRIBUTING.adoc +++ b/CONTRIBUTING.adoc @@ -76,7 +76,7 @@ The project can be built from the root directory using the standard maven comman [indent=0] ---- - $ mvn clean install + $ ./mvnw clean install ---- NOTE: You may need to increase the amount of memory available to Maven by setting @@ -87,7 +87,7 @@ to submit a pull request: [indent=0] ---- - $ mvn clean install -DskipTests + $ ./mvnw clean install -DskipTests ---- @@ -113,7 +113,7 @@ build. To prepare the build, from the root directory use: [indent=0] ---- - $ mvn -P snapshot,prepare install -DskipTests + $ ./mvnw -P snapshot,prepare install -DskipTests ---- 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 [indent=0] ---- - $ mvn -s ./settings.xml -f spring-boot-full-build -P full clean install + $ ./mvnw -s ./settings.xml -f spring-boot-full-build -P full clean install ---- NOTE: As for the standard build, you may need to increase the amount of memory available @@ -200,7 +200,7 @@ following command: [indent=0] ---- - $ mvn eclipse:eclipse + $ ./mvnw eclipse:eclipse ---- The generated eclipse projects can be imported by selecting `import existing projects` diff --git a/README.adoc b/README.adoc index a55065b9f8..806ff7832b 100755 --- a/README.adoc +++ b/README.adoc @@ -124,14 +124,14 @@ available so you need to build that first since it's not generated by default. [indent=0] ---- - $ mvn clean install -pl spring-boot-tools/spring-boot-maven-plugin -Pdefault,full + $ ./mvnw clean install -pl spring-boot-tools/spring-boot-maven-plugin -Pdefault,full ---- Once this is done, you can build the reference documentation with the command below: [indent=0] ---- - $ mvn clean install -pl spring-boot-docs -Pdefault,full + $ ./mvnw clean install -pl spring-boot-docs -Pdefault,full ---- TIP: The generated documentation is available from `spring-boot-docs/target/contents/reference`