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

Enforce supported Maven versions
This commit is contained in:
Jason Tedor 2015-09-01 06:37:47 -04:00
commit edac404f22
1 changed files with 13 additions and 0 deletions

13
pom.xml
View File

@ -543,6 +543,19 @@
</rules> </rules>
</configuration> </configuration>
</execution> </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> <execution>
<id>print-versions</id> <id>print-versions</id>
<phase>validate</phase> <phase>validate</phase>