Commit b75e58b7 authored by hengyunabc's avatar hengyunabc Committed by Stephane Nicoll

Add enforce-rule to ensure maven version >= 3.5.0

Closes gh-13271
parent dba73d76
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment