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:
Jason Tedor 2015-08-20 16:13:14 -04:00
parent 41d8fbe8f5
commit 0a4d6b3a1d
1 changed files with 13 additions and 0 deletions

13
pom.xml
View File

@ -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>