restrict maven version to 3.1
Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/913f0268 Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/913f0268 Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/913f0268 Branch: refs/heads/master Commit: 913f0268ad5a11626cc8d8d455e43076dbe3e7c3 Parents: 5cd3a47 Author: Andy Taylor <[email protected]> Authored: Tue Dec 22 10:01:49 2015 +0000 Committer: Clebert Suconic <[email protected]> Committed: Wed Dec 23 10:58:44 2015 -0500 ---------------------------------------------------------------------- pom.xml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/913f0268/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index d8f963e..9a4a781 100644 --- a/pom.xml +++ b/pom.xml @@ -777,6 +777,26 @@ <pluginManagement> <plugins> <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-enforcer-plugin</artifactId> + <version>1.4.1</version> + <executions> + <execution> + <id>enforce-maven</id> + <goals> + <goal>enforce</goal> + </goals> + <configuration> + <rules> + <requireMavenVersion> + <version>3.1</version> + </requireMavenVersion> + </rules> + </configuration> + </execution> + </executions> + </plugin> + <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>javacc-maven-plugin</artifactId> <version>2.6</version>
