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
|
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
|
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
|
a `MAVEN_OPTS` environment variable with the value `-Xmx512m`. Remember
|
||||||
|
|
|
@ -633,6 +633,9 @@
|
||||||
<requireJavaVersion>
|
<requireJavaVersion>
|
||||||
<version>[1.8,)</version>
|
<version>[1.8,)</version>
|
||||||
</requireJavaVersion>
|
</requireJavaVersion>
|
||||||
|
<requireMavenVersion>
|
||||||
|
<version>[3.5.0,)</version>
|
||||||
|
</requireMavenVersion>
|
||||||
<requireProperty>
|
<requireProperty>
|
||||||
<property>main.basedir</property>
|
<property>main.basedir</property>
|
||||||
</requireProperty>
|
</requireProperty>
|
||||||
|
|
Loading…
Reference in New Issue