From b75e58b70f416bd5e7cea4f26349bd2e43f2d20b Mon Sep 17 00:00:00 2001 From: hengyunabc Date: Sat, 26 May 2018 18:22:01 +0800 Subject: [PATCH] Add enforce-rule to ensure maven version >= 3.5.0 Closes gh-13271 --- README.adoc | 2 +- spring-boot-project/spring-boot-parent/pom.xml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.adoc b/README.adoc index 22e372b6b3..5c824aad0a 100755 --- a/README.adoc +++ b/README.adoc @@ -103,7 +103,7 @@ https://github.com/takari/maven-wrapper[maven wrapper]. You also need JDK 1.8. ---- If you want to build with the regular `mvn` command, you will need -https://maven.apache.org/run-maven/index.html[Maven v3.2.1 or above]. +https://maven.apache.org/run-maven/index.html[Maven v3.5.0 or above]. NOTE: You may need to increase the amount of memory available to Maven by setting a `MAVEN_OPTS` environment variable with the value `-Xmx512m`. Remember diff --git a/spring-boot-project/spring-boot-parent/pom.xml b/spring-boot-project/spring-boot-parent/pom.xml index 76ec5cd852..37f7930595 100644 --- a/spring-boot-project/spring-boot-parent/pom.xml +++ b/spring-boot-project/spring-boot-parent/pom.xml @@ -633,6 +633,9 @@ [1.8,) + + [3.5.0,) + main.basedir