Add enforce-rule to ensure maven version >= 3.5.0
Closes gh-13271
This commit is contained in:
parent
dba73d76b8
commit
b75e58b70f
|
@ -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…
Reference in New Issue