Repository: ambari Updated Branches: refs/heads/trunk bdadb704b -> 9b44b62f6
AMBARI-21195. Enforce Maven version 3.3.9+ Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/9b44b62f Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/9b44b62f Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/9b44b62f Branch: refs/heads/trunk Commit: 9b44b62f638c56c913b3977683a19ea89e39b4ec Parents: bdadb70 Author: Attila Doroszlai <adorosz...@hortonworks.com> Authored: Wed Jun 7 18:43:17 2017 +0200 Committer: Attila Doroszlai <adorosz...@hortonworks.com> Committed: Thu Jun 8 11:09:29 2017 +0200 ---------------------------------------------------------------------- ambari-project/pom.xml | 5 +++++ ambari-server/pom.xml | 20 ++++++++++++++++++++ 2 files changed, 25 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/9b44b62f/ambari-project/pom.xml ---------------------------------------------------------------------- diff --git a/ambari-project/pom.xml b/ambari-project/pom.xml index 98da9f4..64d1416 100644 --- a/ambari-project/pom.xml +++ b/ambari-project/pom.xml @@ -497,6 +497,11 @@ </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-enforcer-plugin</artifactId> + <version>1.4.1</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>2.17</version> <configuration> http://git-wip-us.apache.org/repos/asf/ambari/blob/9b44b62f/ambari-server/pom.xml ---------------------------------------------------------------------- diff --git a/ambari-server/pom.xml b/ambari-server/pom.xml index c0aed7b..669f90f 100644 --- a/ambari-server/pom.xml +++ b/ambari-server/pom.xml @@ -391,6 +391,26 @@ </executions> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-enforcer-plugin</artifactId> + <executions> + <execution> + <id>enforce-maven</id> + <phase>validate</phase> + <goals> + <goal>enforce</goal> + </goals> + <configuration> + <rules> + <requireMavenVersion> + <version>[3.3.9,)</version> + </requireMavenVersion> + </rules> + </configuration> + </execution> + </executions> + </plugin> + <plugin> <groupId>com.github.kongchen</groupId> <artifactId>swagger-maven-plugin</artifactId> <version>3.1.4</version>