Merge pull request #13271 from hengyunabc:fix_maven

* pr/13271:
  Add enforce-rule to ensure maven version >= 3.5.0
pull/13274/head
Stephane Nicoll 7 years ago
commit 2c353762ab

@ -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

@ -633,6 +633,9 @@
<requireJavaVersion>
<version>[1.8,)</version>
</requireJavaVersion>
<requireMavenVersion>
<version>[3.5.0,)</version>
</requireMavenVersion>
<requireProperty>
<property>main.basedir</property>
</requireProperty>

Loading…
Cancel
Save