You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by bu...@apache.org on 2015/06/01 16:47:32 UTC
[1/2] hbase git commit: HBASE-13344 - Add max Java version check for
pom dependencies.
Repository: hbase
Updated Branches:
refs/heads/branch-1.1 544206475 -> 056caf0a2
HBASE-13344 - Add max Java version check for pom dependencies.
Signed-off-by: Sean Busbey <bu...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/0a46edb5
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/0a46edb5
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/0a46edb5
Branch: refs/heads/branch-1.1
Commit: 0a46edb563d37a0e865f0572d828d79b75b86691
Parents: 5442064
Author: Matt Warhaftig <mw...@gmail.com>
Authored: Sun May 24 18:49:25 2015 -0400
Committer: Sean Busbey <bu...@apache.org>
Committed: Mon Jun 1 09:29:19 2015 -0500
----------------------------------------------------------------------
pom.xml | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/0a46edb5/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 7e57fd2..ac5c700 100644
--- a/pom.xml
+++ b/pom.xml
@@ -777,6 +777,13 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
+ <dependencies>
+ <dependency>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>extra-enforcer-rules</artifactId>
+ <version>${extra.enforcer.version}</version>
+ </dependency>
+ </dependencies>
<!-- version set by parent -->
<configuration>
<rules>
@@ -800,6 +807,16 @@
See the reference guide on building for more information: http://hbase.apache.org/book.html#build
</message>
</requireJavaVersion>
+ <enforceBytecodeVersion>
+ <maxJdkVersion>${compileSource}</maxJdkVersion>
+ <message>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).
+ </message>
+ </enforceBytecodeVersion>
</rules>
</configuration>
<executions>
@@ -1195,6 +1212,7 @@
</hbase-surefire.cygwin-argline>
<hbase.skip-jacoco>true</hbase.skip-jacoco>
<jacoco.version>0.6.2.201302030002</jacoco.version>
+ <extra.enforcer.version>1.0-beta-3</extra.enforcer.version>
</properties>
<!-- Sorted by groups of dependencies then groupId and artifactId -->
<dependencyManagement>
[2/2] hbase git commit: HBASE-13344 Addendum - Move max Java version
check to release.
Posted by bu...@apache.org.
HBASE-13344 Addendum - Move max Java version check to release.
Signed-off-by: Sean Busbey <bu...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/056caf0a
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/056caf0a
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/056caf0a
Branch: refs/heads/branch-1.1
Commit: 056caf0a2a130b9749f10a70be9a040623e68b71
Parents: 0a46edb
Author: Matt Warhaftig <mw...@gmail.com>
Authored: Sun May 31 11:17:23 2015 -0400
Committer: Sean Busbey <bu...@apache.org>
Committed: Mon Jun 1 09:29:26 2015 -0500
----------------------------------------------------------------------
pom.xml | 28 ++++++++++++++++++----------
1 file changed, 18 insertions(+), 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/056caf0a/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index ac5c700..384750a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -807,16 +807,6 @@
See the reference guide on building for more information: http://hbase.apache.org/book.html#build
</message>
</requireJavaVersion>
- <enforceBytecodeVersion>
- <maxJdkVersion>${compileSource}</maxJdkVersion>
- <message>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).
- </message>
- </enforceBytecodeVersion>
</rules>
</configuration>
<executions>
@@ -1829,6 +1819,24 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <configuration>
+ <rules>
+ <enforceBytecodeVersion>
+ <maxJdkVersion>${compileSource}</maxJdkVersion>
+ <message>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).
+ </message>
+ </enforceBytecodeVersion>
+ </rules>
+ </configuration>
+ </plugin>
</plugins>
</build>
</profile>