You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by ad...@apache.org on 2014/11/03 19:19:29 UTC
git commit: DRILL-1612: Add maven enforcer rules for maven and Java
version
Repository: incubator-drill
Updated Branches:
refs/heads/master 740aad20d -> c6b181847
DRILL-1612: Add maven enforcer rules for maven and Java version
* Allows compilation with JDK version 1.7.x and maven [3.0.4,4) only.
+ Updated maven-enforcer-plugin to 1.3.1.
Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/c6b18184
Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/c6b18184
Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/c6b18184
Branch: refs/heads/master
Commit: c6b18184777832de95ba003c91d601a062e5c54a
Parents: 740aad2
Author: Aditya Kishore <ad...@apache.org>
Authored: Thu Oct 30 09:13:46 2014 -0700
Committer: Aditya Kishore <ad...@apache.org>
Committed: Mon Nov 3 10:16:32 2014 -0800
----------------------------------------------------------------------
pom.xml | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/c6b18184/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 28343bd..3fdb12a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -265,6 +265,24 @@
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
+ <id>validate_java_and_maven_version</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <inherited>false</inherited>
+ <configuration>
+ <rules>
+ <requireMavenVersion>
+ <version>[3.0.4,4)</version>
+ </requireMavenVersion>
+ <requireJavaVersion>
+ <version>[1.7,1.8)</version>
+ </requireJavaVersion>
+ </rules>
+ </configuration>
+ </execution>
+ <execution>
<id>no_commons_logging</id>
<goals>
<goal>enforce</goal>
@@ -344,7 +362,7 @@
</plugin>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
- <version>1.2</version>
+ <version>1.3.1</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>