You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@omid.apache.org by yo...@apache.org on 2018/11/13 10:16:40 UTC
[48/50] [abbrv] incubator-omid git commit: OMID-119 - generate
different jar names for hbase1 and hbase 2
OMID-119 - generate different jar names for hbase1 and hbase 2
Project: http://git-wip-us.apache.org/repos/asf/incubator-omid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-omid/commit/6b14834b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-omid/tree/6b14834b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-omid/diff/6b14834b
Branch: refs/heads/1.0.0
Commit: 6b14834bc7651c9b1c8aac5b3cedddc17c1cd724
Parents: cd5a843
Author: Yonatan Gottesman <yo...@gmail.com>
Authored: Mon Oct 22 10:44:54 2018 +0300
Committer: Yonatan Gottesman <yo...@gmail.com>
Committed: Tue Nov 13 10:11:39 2018 +0200
----------------------------------------------------------------------
benchmarks/pom.xml | 6 +++++-
examples/pom.xml | 12 +++++-------
hbase-client/pom.xml | 12 +++++++++---
hbase-commit-table/pom.xml | 4 ++--
hbase-common/pom.xml | 2 +-
hbase-coprocessor/pom.xml | 6 +++---
hbase-tools/pom.xml | 4 ++--
pom.xml | 13 ++++++++++++-
timestamp-storage/pom.xml | 2 +-
tso-server/pom.xml | 30 ++++++++++++++++--------------
10 files changed, 56 insertions(+), 35 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-omid/blob/6b14834b/benchmarks/pom.xml
----------------------------------------------------------------------
diff --git a/benchmarks/pom.xml b/benchmarks/pom.xml
index 4816039..fd8895a 100644
--- a/benchmarks/pom.xml
+++ b/benchmarks/pom.xml
@@ -36,13 +36,17 @@
</dependency>
<dependency>
<groupId>org.apache.omid</groupId>
- <artifactId>omid-hbase-commit-table</artifactId>
+ <artifactId>omid-hbase-commit-table-${hbase.shims.concatination}</artifactId>
<version>${project.version}</version>
<exclusions>
<exclusion>
<groupId>org.apache.omid</groupId>
<artifactId>${shims.exclude.artifactId}</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>org.apache.omid</groupId>
+ <artifactId>omid-hbase-common-${hbase.exlude.shims.concatination}</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
http://git-wip-us.apache.org/repos/asf/incubator-omid/blob/6b14834b/examples/pom.xml
----------------------------------------------------------------------
diff --git a/examples/pom.xml b/examples/pom.xml
index c574ad5..2ccc3f4 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -32,13 +32,17 @@
<dependency>
<groupId>org.apache.omid</groupId>
- <artifactId>omid-hbase-client</artifactId>
+ <artifactId>omid-hbase-client-${hbase.shims.concatination}</artifactId>
<version>${project.version}</version>
<exclusions>
<exclusion>
<groupId>org.apache.omid</groupId>
<artifactId>${shims.exclude.artifactId}</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>org.apache.omid</groupId>
+ <artifactId>omid-hbase-commit-table-${hbase.exlude.shims.concatination}</artifactId>
+ </exclusion>
</exclusions>
</dependency>
@@ -61,12 +65,6 @@
<version>${log4j.version}</version>
</dependency>
- <dependency>
- <groupId>org.apache.omid</groupId>
- <artifactId>${shims.artifactId}</artifactId>
- <version>${project.version}</version>
- </dependency>
-
</dependencies>
<build>
http://git-wip-us.apache.org/repos/asf/incubator-omid/blob/6b14834b/hbase-client/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-client/pom.xml b/hbase-client/pom.xml
index d55182f..c39a368 100644
--- a/hbase-client/pom.xml
+++ b/hbase-client/pom.xml
@@ -22,7 +22,7 @@
<version>0.9.1.0-SNAPSHOT</version>
</parent>
- <artifactId>omid-hbase-client</artifactId>
+ <artifactId>omid-hbase-client-${hbase.shims.concatination}</artifactId>
<packaging>jar</packaging>
<name>HBase Client</name>
<description>HBase specific implementation of transaction-client module</description>
@@ -38,7 +38,7 @@
</dependency>
<dependency>
<groupId>org.apache.omid</groupId>
- <artifactId>omid-hbase-commit-table</artifactId>
+ <artifactId>omid-hbase-commit-table-${hbase.shims.concatination}</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
@@ -63,7 +63,7 @@
</dependency>
<dependency>
<groupId>org.apache.omid</groupId>
- <artifactId>omid-hbase-tools</artifactId>
+ <artifactId>omid-hbase-tools-${hbase.shims.concatination}</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
@@ -131,6 +131,12 @@
<groupId>org.apache.omid</groupId>
<artifactId>${shims.artifactId}</artifactId>
<version>${project.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.apache.omid</groupId>
+ <artifactId>${shims.exclude.artifactId}</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<!-- end testing -->
http://git-wip-us.apache.org/repos/asf/incubator-omid/blob/6b14834b/hbase-commit-table/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-commit-table/pom.xml b/hbase-commit-table/pom.xml
index 0795a4a..a3ff993 100644
--- a/hbase-commit-table/pom.xml
+++ b/hbase-commit-table/pom.xml
@@ -22,7 +22,7 @@
<version>0.9.1.0-SNAPSHOT</version>
</parent>
- <artifactId>omid-hbase-commit-table</artifactId>
+ <artifactId>omid-hbase-commit-table-${hbase.shims.concatination}</artifactId>
<packaging>jar</packaging>
<name>HBase Commit Table</name>
@@ -42,7 +42,7 @@
</dependency>
<dependency>
<groupId>org.apache.omid</groupId>
- <artifactId>omid-hbase-common</artifactId>
+ <artifactId>omid-hbase-common-${hbase.shims.concatination}</artifactId>
<version>${project.version}</version>
</dependency>
http://git-wip-us.apache.org/repos/asf/incubator-omid/blob/6b14834b/hbase-common/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-common/pom.xml b/hbase-common/pom.xml
index 4b325d5..fbb66d8 100644
--- a/hbase-common/pom.xml
+++ b/hbase-common/pom.xml
@@ -22,7 +22,7 @@
<version>0.9.1.0-SNAPSHOT</version>
</parent>
- <artifactId>omid-hbase-common</artifactId>
+ <artifactId>omid-hbase-common-${hbase.shims.concatination}</artifactId>
<name>HBase Common</name>
<packaging>jar</packaging>
http://git-wip-us.apache.org/repos/asf/incubator-omid/blob/6b14834b/hbase-coprocessor/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-coprocessor/pom.xml b/hbase-coprocessor/pom.xml
index 9fe69d4..ab9505a 100644
--- a/hbase-coprocessor/pom.xml
+++ b/hbase-coprocessor/pom.xml
@@ -22,7 +22,7 @@
<version>0.9.1.0-SNAPSHOT</version>
</parent>
- <artifactId>omid-hbase-coprocessor</artifactId>
+ <artifactId>omid-hbase-coprocessor-${hbase.shims.concatination}</artifactId>
<packaging>jar</packaging>
<name>HBase Coprocessors</name>
@@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.omid</groupId>
- <artifactId>omid-hbase-commit-table</artifactId>
+ <artifactId>omid-hbase-commit-table-${hbase.shims.concatination}</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
@@ -43,7 +43,7 @@
</dependency>
<dependency>
<groupId>org.apache.omid</groupId>
- <artifactId>omid-hbase-client</artifactId>
+ <artifactId>omid-hbase-client-${hbase.shims.concatination}</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
http://git-wip-us.apache.org/repos/asf/incubator-omid/blob/6b14834b/hbase-tools/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-tools/pom.xml b/hbase-tools/pom.xml
index dda6aa2..40a7613 100644
--- a/hbase-tools/pom.xml
+++ b/hbase-tools/pom.xml
@@ -22,7 +22,7 @@
<version>0.9.1.0-SNAPSHOT</version>
</parent>
- <artifactId>omid-hbase-tools</artifactId>
+ <artifactId>omid-hbase-tools-${hbase.shims.concatination}</artifactId>
<name>HBase tools</name>
<packaging>jar</packaging>
@@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.omid</groupId>
- <artifactId>omid-hbase-commit-table</artifactId>
+ <artifactId>omid-hbase-commit-table-${hbase.shims.concatination}</artifactId>
<version>${project.version}</version>
</dependency>
http://git-wip-us.apache.org/repos/asf/incubator-omid/blob/6b14834b/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index c40264b..98e3ac4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -34,6 +34,12 @@
<url>http://www.apache.org</url>
</organization>
+ <parent>
+ <groupId>org.apache</groupId>
+ <artifactId>apache</artifactId>
+ <version>14</version>
+ </parent>
+
<licenses>
<license>
<name>Apache License, Version 2.0</name>
@@ -195,7 +201,7 @@
<harmless.groupId>org.apache.hbase</harmless.groupId>
<harmless.artifactId>hbase-client</harmless.artifactId>
<harmless.version>${hbase.version}</harmless.version>
-
+ <additionalparam>-Xdoclint:none</additionalparam>
</properties>
<build>
@@ -598,6 +604,8 @@
<hadoop.version>${hadoop1.version}</hadoop.version>
<hbase.version>${hbase1.version}</hbase.version>
<shims.module>hbase-1</shims.module>
+ <hbase.shims.concatination>hbase1.3</hbase.shims.concatination>
+ <hbase.exlude.shims.concatination>hbase2.0</hbase.exlude.shims.concatination>
</properties>
</profile>
@@ -611,6 +619,9 @@
<java.version>1.8</java.version>
<hadoop.version>${hadoop2.version}</hadoop.version>
<hbase.version>${hbase2.version}</hbase.version>
+ <hbase.shims.concatination>hbase2.0</hbase.shims.concatination>
+ <hbase.exlude.shims.concatination>hbase1.3</hbase.exlude.shims.concatination>
+
</properties>
</profile>
http://git-wip-us.apache.org/repos/asf/incubator-omid/blob/6b14834b/timestamp-storage/pom.xml
----------------------------------------------------------------------
diff --git a/timestamp-storage/pom.xml b/timestamp-storage/pom.xml
index 3643d26..a63bb4a 100644
--- a/timestamp-storage/pom.xml
+++ b/timestamp-storage/pom.xml
@@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.omid</groupId>
- <artifactId>omid-hbase-common</artifactId>
+ <artifactId>omid-hbase-common-${hbase.shims.concatination}</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
http://git-wip-us.apache.org/repos/asf/incubator-omid/blob/6b14834b/tso-server/pom.xml
----------------------------------------------------------------------
diff --git a/tso-server/pom.xml b/tso-server/pom.xml
index f451e90..76eb365 100644
--- a/tso-server/pom.xml
+++ b/tso-server/pom.xml
@@ -35,17 +35,11 @@
<groupId>org.apache.omid</groupId>
<artifactId>omid-commit-table</artifactId>
<version>${project.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.apache.omid</groupId>
- <artifactId>${shims.exclude.artifactId}</artifactId>
- </exclusion>
- </exclusions>
</dependency>
<dependency>
<groupId>org.apache.omid</groupId>
- <artifactId>omid-hbase-common</artifactId>
+ <artifactId>omid-hbase-common-${hbase.shims.concatination}</artifactId>
<version>${project.version}</version>
<exclusions>
<exclusion>
@@ -57,13 +51,17 @@
<dependency>
<groupId>org.apache.omid</groupId>
- <artifactId>omid-hbase-commit-table</artifactId>
+ <artifactId>omid-hbase-commit-table-${hbase.shims.concatination}</artifactId>
<version>${project.version}</version>
<exclusions>
<exclusion>
<groupId>org.apache.omid</groupId>
<artifactId>${shims.exclude.artifactId}</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>org.apache.omid</groupId>
+ <artifactId>omid-hbase-common-${hbase.exlude.shims.concatination}</artifactId>
+ </exclusion>
</exclusions>
</dependency>
@@ -77,6 +75,10 @@
<groupId>org.apache.omid</groupId>
<artifactId>${shims.exclude.artifactId}</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>org.apache.omid</groupId>
+ <artifactId>omid-hbase-common-${hbase.exlude.shims.concatination}</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
@@ -95,7 +97,7 @@
The hbase tools are handy to create the required Omid tables from the same script that starts the TSO server -->
<dependency>
<groupId>org.apache.omid</groupId>
- <artifactId>omid-hbase-tools</artifactId>
+ <artifactId>omid-hbase-tools-${hbase.shims.concatination}</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
@@ -240,11 +242,11 @@
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>org.apache.omid</groupId>
- <artifactId>${shims.artifactId}</artifactId>
- <version>${project.version}</version>
- </dependency>
+ <!--<dependency>-->
+ <!--<groupId>org.apache.omid</groupId>-->
+ <!--<artifactId>${shims.artifactId}</artifactId>-->
+ <!--<version>${project.version}</version>-->
+ <!--</dependency>-->
<!-- end testing -->
</dependencies>