Skip to content

Commit 2c35376

Browse files
committed
Merge pull request #13271 from hengyunabc:fix_maven
* pr/13271: Add enforce-rule to ensure maven version >= 3.5.0
2 parents dba73d7 + b75e58b commit 2c35376

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ https://github.com/takari/maven-wrapper[maven wrapper]. You also need JDK 1.8.
103103
----
104104

105105
If you want to build with the regular `mvn` command, you will need
106-
https://maven.apache.org/run-maven/index.html[Maven v3.2.1 or above].
106+
https://maven.apache.org/run-maven/index.html[Maven v3.5.0 or above].
107107

108108
NOTE: You may need to increase the amount of memory available to Maven by setting
109109
a `MAVEN_OPTS` environment variable with the value `-Xmx512m`. Remember

spring-boot-project/spring-boot-parent/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,9 @@
633633
<requireJavaVersion>
634634
<version>[1.8,)</version>
635635
</requireJavaVersion>
636+
<requireMavenVersion>
637+
<version>[3.5.0,)</version>
638+
</requireMavenVersion>
636639
<requireProperty>
637640
<property>main.basedir</property>
638641
</requireProperty>

0 commit comments

Comments
 (0)