Skip to content

Commit

Permalink
Enforce supported Maven versions
Browse files Browse the repository at this point in the history
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 elastic#13022
  • Loading branch information
jasontedor committed Aug 20, 2015
1 parent 41d8fbe commit 0a4d6b3
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 0a4d6b3

Please sign in to comment.