Enforce supported Maven versions
Our builds are currently not compatible with Maven versions < 3.1.0 and >= 3.3.0. This commit will enforce Maven 3 versions that our builds are known to be compatible with. We will consider these our supported Maven versions. Closes #13022
This commit is contained in:
parent
41d8fbe8f5
commit
0a4d6b3a1d
13
pom.xml
13
pom.xml
|
@ -542,6 +542,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>
|
||||
|
|
Loading…
Reference in New Issue