Browse Source

Merge pull request #13023 from jasontedor/enforce-maven-version

Enforce supported Maven versions
Jason Tedor 10 năm trước cách đây
mục cha
commit
edac404f22
1 tập tin đã thay đổi với 13 bổ sung0 xóa
  1. 13 0
      pom.xml

+ 13 - 0
pom.xml

@@ -543,6 +543,19 @@
                                 </rules>
                             </configuration>
                         </execution>
+                        <execution>
+                            <id>enforce-maven-version</id>
+                            <goals>
+                                <goal>enforce</goal>
+                            </goals>
+                            <configuration>
+                                <rules>
+                                    <requireMavenVersion>
+                                        <version>[3.1.0,3.3.0)</version>
+                                    </requireMavenVersion>
+                                </rules>
+                            </configuration>
+                        </execution>
                         <execution>
                             <id>print-versions</id>
                             <phase>validate</phase>