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/26 16:27:30 UTC

hbase git commit: HBASE-13967 use jdk-specific profiles for jdk.tools version.

Repository: hbase
Updated Branches:
  refs/heads/master 5826bf2a7 -> 4167a3f69


HBASE-13967 use jdk-specific profiles for jdk.tools version.


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/4167a3f6
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/4167a3f6
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/4167a3f6

Branch: refs/heads/master
Commit: 4167a3f69ae7b81973def135f407bacca43880f2
Parents: 5826bf2
Author: Sean Busbey <bu...@apache.org>
Authored: Thu Jun 25 00:27:15 2015 -0500
Committer: Sean Busbey <bu...@apache.org>
Committed: Fri Jun 26 09:24:00 2015 -0500

----------------------------------------------------------------------
 hbase-annotations/pom.xml | 43 ++++++++++++++++++++++++++++++++----------
 1 file changed, 33 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/4167a3f6/hbase-annotations/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-annotations/pom.xml b/hbase-annotations/pom.xml
index 5c92ee5..14596c5 100644
--- a/hbase-annotations/pom.xml
+++ b/hbase-annotations/pom.xml
@@ -31,13 +31,36 @@
   <name>HBase - Annotations</name>
   <description>Copy of Hadoop's annotations for HBase</description>
 
-  <dependencies>
-    <dependency>
-      <groupId>jdk.tools</groupId>
-      <artifactId>jdk.tools</artifactId>
-      <version>1.7</version>
-      <scope>system</scope>
-      <systemPath>${java.home}/../lib/tools.jar</systemPath>
-    </dependency>
-  </dependencies>
-</project>
\ No newline at end of file
+  <profiles>
+    <profile>
+      <id>build-with-jdk7</id>
+      <activation>
+        <jdk>1.7</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>jdk.tools</groupId>
+          <artifactId>jdk.tools</artifactId>
+          <version>1.7</version>
+          <scope>system</scope>
+          <systemPath>${java.home}/../lib/tools.jar</systemPath>
+        </dependency>
+      </dependencies>
+    </profile>
+    <profile>
+      <id>build-with-jdk8</id>
+      <activation>
+        <jdk>1.8</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>jdk.tools</groupId>
+          <artifactId>jdk.tools</artifactId>
+          <version>1.8</version>
+          <scope>system</scope>
+          <systemPath>${java.home}/../lib/tools.jar</systemPath>
+        </dependency>
+      </dependencies>
+    </profile>
+  </profiles>
+</project>