From 14d6358b0c16d83197ed75369a7bc14c7e43c2e8 Mon Sep 17 00:00:00 2001 From: Matt Warhaftig Date: Sun, 24 May 2015 18:49:25 -0400 Subject: [PATCH] HBASE-13344 - Add max Java version check for pom dependencies. --- pom.xml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/pom.xml b/pom.xml index 0e95fb0..3e53403 100644 --- a/pom.xml +++ b/pom.xml @@ -804,6 +804,13 @@ org.apache.maven.plugins maven-enforcer-plugin + + + org.codehaus.mojo + extra-enforcer-rules + ${extra.enforcer.version} + + @@ -827,6 +834,16 @@ See the reference guide on building for more information: http://hbase.apache.org/book.html#build + + ${compileSource} + HBase has unsupported dependencies. + HBase requires that all dependencies be compiled with version ${compileSource} or earlier + of the JDK to properly build from source. You appear to be using a newer dependency. You can use + either "mvn -version" or "mvn enforcer:display-info" to verify what version is active. + Non-release builds can temporarily build with a newer JDK version by setting the + 'compileSource' property (eg. mvn -DcompileSource=1.8 clean package). + + @@ -1220,6 +1237,7 @@ true 0.6.2.201302030002 + 1.0-beta-3 -- 2.3.2 (Apple Git-55)