This is an automated email from the ASF dual-hosted git repository. stoty pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/phoenix-connectors.git
The following commit(s) were added to refs/heads/master by this push: new 48472b4 PHOENIX-6166 Make Tephra support optional for phoenix 5 connectors 48472b4 is described below commit 48472b473fbcd1f55fc67d25474e2dafb002b666 Author: Istvan Toth <st...@apache.org> AuthorDate: Fri Feb 9 18:14:36 2024 +0100 PHOENIX-6166 Make Tephra support optional for phoenix 5 connectors --- phoenix5-hive/pom.xml | 51 +++++++++++++++++++++++++++++++++++++++++++++++++ phoenix5-spark/pom.xml | 51 +++++++++++++++++++++++++++++++++++++++++++++++++ phoenix5-spark3/pom.xml | 51 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 153 insertions(+) diff --git a/phoenix5-hive/pom.xml b/phoenix5-hive/pom.xml index 69ce48a..19a20cf 100644 --- a/phoenix5-hive/pom.xml +++ b/phoenix5-hive/pom.xml @@ -498,4 +498,55 @@ </dependencies> </dependencyManagement> + <profiles> + <profile> + <!-- This only applies when building with 5.1 --> + <id>exclude-tephra</id> + <activation> + <property> + <name>without.tephra</name> + </property> + </activation> + <dependencies> + <dependency> + <groupId>org.apache.phoenix</groupId> + <artifactId>phoenix-core</artifactId> + <exclusions> + <exclusion> + <groupId>org.apache.tephra</groupId> + <artifactId>tephra-api</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.tephra</groupId> + <artifactId>tephra-core-shaded</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.tephra</groupId> + <artifactId>tephra-hbase-compat-2.0</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.tephra</groupId> + <artifactId>tephra-hbase-compat-2.1</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.tephra</groupId> + <artifactId>tephra-hbase-compat-2.2</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.tephra</groupId> + <artifactId>tephra-hbase-compat-2.3</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.tephra</groupId> + <artifactId>tephra-hbase-compat-2.4</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.hbase.thirdparty</groupId> + <artifactId>hbase-shaded-jersey</artifactId> + </exclusion> + </exclusions> + </dependency> + </dependencies> + </profile> + </profiles> </project> diff --git a/phoenix5-spark/pom.xml b/phoenix5-spark/pom.xml index e6be35c..17e02bb 100644 --- a/phoenix5-spark/pom.xml +++ b/phoenix5-spark/pom.xml @@ -609,4 +609,55 @@ this should be kept in sync with Phoenix as much as possible --> </plugins> </build> + <profiles> + <profile> + <!-- This only applies when building with 5.1 --> + <id>exclude-tephra</id> + <activation> + <property> + <name>without.tephra</name> + </property> + </activation> + <dependencies> + <dependency> + <groupId>org.apache.phoenix</groupId> + <artifactId>phoenix-core</artifactId> + <exclusions> + <exclusion> + <groupId>org.apache.tephra</groupId> + <artifactId>tephra-api</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.tephra</groupId> + <artifactId>tephra-core-shaded</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.tephra</groupId> + <artifactId>tephra-hbase-compat-2.0</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.tephra</groupId> + <artifactId>tephra-hbase-compat-2.1</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.tephra</groupId> + <artifactId>tephra-hbase-compat-2.2</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.tephra</groupId> + <artifactId>tephra-hbase-compat-2.3</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.tephra</groupId> + <artifactId>tephra-hbase-compat-2.4</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.hbase.thirdparty</groupId> + <artifactId>hbase-shaded-jersey</artifactId> + </exclusion> + </exclusions> + </dependency> + </dependencies> + </profile> + </profiles> </project> diff --git a/phoenix5-spark3/pom.xml b/phoenix5-spark3/pom.xml index ffd04f4..aecb6b6 100644 --- a/phoenix5-spark3/pom.xml +++ b/phoenix5-spark3/pom.xml @@ -183,4 +183,55 @@ </plugin> </plugins> </build> + <profiles> + <profile> + <!-- This only applies when building with 5.1 --> + <id>exclude-tephra</id> + <activation> + <property> + <name>without.tephra</name> + </property> + </activation> + <dependencies> + <dependency> + <groupId>org.apache.phoenix</groupId> + <artifactId>phoenix-core</artifactId> + <exclusions> + <exclusion> + <groupId>org.apache.tephra</groupId> + <artifactId>tephra-api</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.tephra</groupId> + <artifactId>tephra-core-shaded</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.tephra</groupId> + <artifactId>tephra-hbase-compat-2.0</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.tephra</groupId> + <artifactId>tephra-hbase-compat-2.1</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.tephra</groupId> + <artifactId>tephra-hbase-compat-2.2</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.tephra</groupId> + <artifactId>tephra-hbase-compat-2.3</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.tephra</groupId> + <artifactId>tephra-hbase-compat-2.4</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.hbase.thirdparty</groupId> + <artifactId>hbase-shaded-jersey</artifactId> + </exclusion> + </exclusions> + </dependency> + </dependencies> + </profile> + </profiles> </project>