This is an automated email from the ASF dual-hosted git repository.
chengpan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kyuubi.git
The following commit(s) were added to refs/heads/master by this push:
new 4213e2094 [KYUUBI #5177] Use Scala binary version placeholder in Maven
module's artifactId suffix
4213e2094 is described below
commit 4213e20945a891141c320b4e4b8762bd5fa61b38
Author: liangbowen <[email protected]>
AuthorDate: Sun Aug 20 16:03:23 2023 +0000
[KYUUBI #5177] Use Scala binary version placeholder in Maven module's
artifactId suffix
### _Why are the changes needed?_
- Change hardcoded Scala's version 2.12 in Maven module's `artifactId` to
placeholder `scala.binary.version` which is defined in project parent pom as
2.12
- Preparation for Scala 2.13/3.x support in the future
- No impact on using or building Maven modules
- Some ignorable warning messages for unstable artifactId will be thrown by
Maven.
```
Warning: Some problems were encountered while building the effective model
for org.apache.kyuubi:kyuubi-server_2.12:jar:1.8.0-SNAPSHOT
Warning: 'artifactId' contains an expression but should be a constant
```
### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including
negative and positive cases if possible
- [ ] Add screenshots for manual tests if appropriate
- [x] [Run
test](https://kyuubi.readthedocs.io/en/master/contributing/code/testing.html#running-tests)
locally before make a pull request
### _Was this patch authored or co-authored using generative AI tooling?_
No.
Closes #5175 from bowenliang123/artifactId-scala.
Closes #5177
2eba29cfa [liangbowen] use placeholder of scala binary version for
artifactId
Authored-by: liangbowen <[email protected]>
Signed-off-by: Cheng Pan <[email protected]>
---
dev/kyuubi-codecov/pom.xml | 2 +-
dev/kyuubi-tpcds/pom.xml | 2 +-
extensions/spark/kyuubi-extension-spark-3-1/pom.xml | 2 +-
extensions/spark/kyuubi-extension-spark-3-2/pom.xml | 2 +-
extensions/spark/kyuubi-extension-spark-3-3/pom.xml | 2 +-
extensions/spark/kyuubi-extension-spark-common/pom.xml | 2 +-
extensions/spark/kyuubi-extension-spark-jdbc-dialect/pom.xml | 2 +-
extensions/spark/kyuubi-spark-authz/pom.xml | 2 +-
extensions/spark/kyuubi-spark-connector-common/pom.xml | 2 +-
extensions/spark/kyuubi-spark-connector-hive/pom.xml | 2 +-
extensions/spark/kyuubi-spark-connector-tpcds/pom.xml | 2 +-
extensions/spark/kyuubi-spark-connector-tpch/pom.xml | 2 +-
extensions/spark/kyuubi-spark-lineage/pom.xml | 2 +-
externals/kyuubi-chat-engine/pom.xml | 2 +-
externals/kyuubi-flink-sql-engine/pom.xml | 2 +-
externals/kyuubi-hive-sql-engine/pom.xml | 2 +-
externals/kyuubi-jdbc-engine/pom.xml | 2 +-
externals/kyuubi-spark-sql-engine/pom.xml | 2 +-
externals/kyuubi-trino-engine/pom.xml | 2 +-
integration-tests/kyuubi-flink-it/pom.xml | 2 +-
integration-tests/kyuubi-hive-it/pom.xml | 2 +-
integration-tests/kyuubi-jdbc-it/pom.xml | 2 +-
integration-tests/kyuubi-trino-it/pom.xml | 2 +-
integration-tests/kyuubi-zookeeper-it/pom.xml | 2 +-
kyuubi-assembly/pom.xml | 2 +-
kyuubi-common/pom.xml | 2 +-
kyuubi-ctl/pom.xml | 2 +-
kyuubi-events/pom.xml | 2 +-
kyuubi-ha/pom.xml | 2 +-
kyuubi-metrics/pom.xml | 2 +-
kyuubi-server/pom.xml | 2 +-
kyuubi-util-scala/pom.xml | 2 +-
kyuubi-zookeeper/pom.xml | 2 +-
tools/spark-block-cleaner/pom.xml | 2 +-
34 files changed, 34 insertions(+), 34 deletions(-)
diff --git a/dev/kyuubi-codecov/pom.xml b/dev/kyuubi-codecov/pom.xml
index 09ced96a1..0d265a006 100644
--- a/dev/kyuubi-codecov/pom.xml
+++ b/dev/kyuubi-codecov/pom.xml
@@ -25,7 +25,7 @@
<relativePath>../../pom.xml</relativePath>
</parent>
- <artifactId>kyuubi-codecov_2.12</artifactId>
+ <artifactId>kyuubi-codecov_${scala.binary.version}</artifactId>
<packaging>pom</packaging>
<name>Kyuubi Dev Code Coverage</name>
<url>https://kyuubi.apache.org/</url>
diff --git a/dev/kyuubi-tpcds/pom.xml b/dev/kyuubi-tpcds/pom.xml
index 1bc69f9f2..bb52f6c21 100644
--- a/dev/kyuubi-tpcds/pom.xml
+++ b/dev/kyuubi-tpcds/pom.xml
@@ -25,7 +25,7 @@
<relativePath>../../pom.xml</relativePath>
</parent>
- <artifactId>kyuubi-tpcds_2.12</artifactId>
+ <artifactId>kyuubi-tpcds_${scala.binary.version}</artifactId>
<packaging>jar</packaging>
<name>Kyuubi Dev TPCDS Generator</name>
<url>https://kyuubi.apache.org/</url>
diff --git a/extensions/spark/kyuubi-extension-spark-3-1/pom.xml
b/extensions/spark/kyuubi-extension-spark-3-1/pom.xml
index eb56e435b..21e0d5c83 100644
--- a/extensions/spark/kyuubi-extension-spark-3-1/pom.xml
+++ b/extensions/spark/kyuubi-extension-spark-3-1/pom.xml
@@ -25,7 +25,7 @@
<relativePath>../../../pom.xml</relativePath>
</parent>
- <artifactId>kyuubi-extension-spark-3-1_2.12</artifactId>
+ <artifactId>kyuubi-extension-spark-3-1_${scala.binary.version}</artifactId>
<packaging>jar</packaging>
<name>Kyuubi Dev Spark Extensions (for Spark 3.1)</name>
<url>https://kyuubi.apache.org/</url>
diff --git a/extensions/spark/kyuubi-extension-spark-3-2/pom.xml
b/extensions/spark/kyuubi-extension-spark-3-2/pom.xml
index c8caed835..086034890 100644
--- a/extensions/spark/kyuubi-extension-spark-3-2/pom.xml
+++ b/extensions/spark/kyuubi-extension-spark-3-2/pom.xml
@@ -25,7 +25,7 @@
<relativePath>../../../pom.xml</relativePath>
</parent>
- <artifactId>kyuubi-extension-spark-3-2_2.12</artifactId>
+ <artifactId>kyuubi-extension-spark-3-2_${scala.binary.version}</artifactId>
<packaging>jar</packaging>
<name>Kyuubi Dev Spark Extensions (for Spark 3.2)</name>
<url>https://kyuubi.apache.org/</url>
diff --git a/extensions/spark/kyuubi-extension-spark-3-3/pom.xml
b/extensions/spark/kyuubi-extension-spark-3-3/pom.xml
index 51d21f684..3d7312829 100644
--- a/extensions/spark/kyuubi-extension-spark-3-3/pom.xml
+++ b/extensions/spark/kyuubi-extension-spark-3-3/pom.xml
@@ -25,7 +25,7 @@
<relativePath>../../../pom.xml</relativePath>
</parent>
- <artifactId>kyuubi-extension-spark-3-3_2.12</artifactId>
+ <artifactId>kyuubi-extension-spark-3-3_${scala.binary.version}</artifactId>
<packaging>jar</packaging>
<name>Kyuubi Dev Spark Extensions (for Spark 3.3)</name>
<url>https://kyuubi.apache.org/</url>
diff --git a/extensions/spark/kyuubi-extension-spark-common/pom.xml
b/extensions/spark/kyuubi-extension-spark-common/pom.xml
index e11600408..9ebacfdbe 100644
--- a/extensions/spark/kyuubi-extension-spark-common/pom.xml
+++ b/extensions/spark/kyuubi-extension-spark-common/pom.xml
@@ -25,7 +25,7 @@
<relativePath>../../../pom.xml</relativePath>
</parent>
- <artifactId>kyuubi-extension-spark-common_2.12</artifactId>
+
<artifactId>kyuubi-extension-spark-common_${scala.binary.version}</artifactId>
<packaging>jar</packaging>
<name>Kyuubi Dev Spark Extensions Common (for Spark 3)</name>
<url>https://kyuubi.apache.org/</url>
diff --git a/extensions/spark/kyuubi-extension-spark-jdbc-dialect/pom.xml
b/extensions/spark/kyuubi-extension-spark-jdbc-dialect/pom.xml
index 48c4c4379..a68c7a75c 100644
--- a/extensions/spark/kyuubi-extension-spark-jdbc-dialect/pom.xml
+++ b/extensions/spark/kyuubi-extension-spark-jdbc-dialect/pom.xml
@@ -26,7 +26,7 @@
</parent>
- <artifactId>kyuubi-extension-spark-jdbc-dialect_2.12</artifactId>
+
<artifactId>kyuubi-extension-spark-jdbc-dialect_${scala.binary.version}</artifactId>
<packaging>jar</packaging>
<name>Kyuubi Spark JDBC Dialect plugin</name>
<url>https://kyuubi.apache.org/</url>
diff --git a/extensions/spark/kyuubi-spark-authz/pom.xml
b/extensions/spark/kyuubi-spark-authz/pom.xml
index 7f95a6b05..7189f6296 100644
--- a/extensions/spark/kyuubi-spark-authz/pom.xml
+++ b/extensions/spark/kyuubi-spark-authz/pom.xml
@@ -26,7 +26,7 @@
</parent>
- <artifactId>kyuubi-spark-authz_2.12</artifactId>
+ <artifactId>kyuubi-spark-authz_${scala.binary.version}</artifactId>
<packaging>jar</packaging>
<name>Kyuubi Dev Spark Authorization Extension</name>
<url>https://kyuubi.apache.org/</url>
diff --git a/extensions/spark/kyuubi-spark-connector-common/pom.xml
b/extensions/spark/kyuubi-spark-connector-common/pom.xml
index 132f8ea83..007dac3ae 100644
--- a/extensions/spark/kyuubi-spark-connector-common/pom.xml
+++ b/extensions/spark/kyuubi-spark-connector-common/pom.xml
@@ -25,7 +25,7 @@
<relativePath>../../../pom.xml</relativePath>
</parent>
- <artifactId>kyuubi-spark-connector-common_2.12</artifactId>
+
<artifactId>kyuubi-spark-connector-common_${scala.binary.version}</artifactId>
<packaging>jar</packaging>
<name>Kyuubi Spark Connector Common</name>
<url>https://kyuubi.apache.org/</url>
diff --git a/extensions/spark/kyuubi-spark-connector-hive/pom.xml
b/extensions/spark/kyuubi-spark-connector-hive/pom.xml
index 8a182748a..970cadff7 100644
--- a/extensions/spark/kyuubi-spark-connector-hive/pom.xml
+++ b/extensions/spark/kyuubi-spark-connector-hive/pom.xml
@@ -25,7 +25,7 @@
<relativePath>../../../pom.xml</relativePath>
</parent>
- <artifactId>kyuubi-spark-connector-hive_2.12</artifactId>
+
<artifactId>kyuubi-spark-connector-hive_${scala.binary.version}</artifactId>
<packaging>jar</packaging>
<name>Kyuubi Spark Hive Connector</name>
<description>A Kyuubi hive connector based on Spark V2
DataSource</description>
diff --git a/extensions/spark/kyuubi-spark-connector-tpcds/pom.xml
b/extensions/spark/kyuubi-spark-connector-tpcds/pom.xml
index 4bad96dda..6da770dea 100644
--- a/extensions/spark/kyuubi-spark-connector-tpcds/pom.xml
+++ b/extensions/spark/kyuubi-spark-connector-tpcds/pom.xml
@@ -25,7 +25,7 @@
<relativePath>../../../pom.xml</relativePath>
</parent>
- <artifactId>kyuubi-spark-connector-tpcds_2.12</artifactId>
+
<artifactId>kyuubi-spark-connector-tpcds_${scala.binary.version}</artifactId>
<packaging>jar</packaging>
<name>Kyuubi Spark TPC-DS Connector</name>
<url>https://kyuubi.apache.org/</url>
diff --git a/extensions/spark/kyuubi-spark-connector-tpch/pom.xml
b/extensions/spark/kyuubi-spark-connector-tpch/pom.xml
index fe5721c0f..070d76d9b 100644
--- a/extensions/spark/kyuubi-spark-connector-tpch/pom.xml
+++ b/extensions/spark/kyuubi-spark-connector-tpch/pom.xml
@@ -25,7 +25,7 @@
<relativePath>../../../pom.xml</relativePath>
</parent>
- <artifactId>kyuubi-spark-connector-tpch_2.12</artifactId>
+
<artifactId>kyuubi-spark-connector-tpch_${scala.binary.version}</artifactId>
<packaging>jar</packaging>
<name>Kyuubi Spark TPC-H Connector</name>
<url>https://kyuubi.apache.org/</url>
diff --git a/extensions/spark/kyuubi-spark-lineage/pom.xml
b/extensions/spark/kyuubi-spark-lineage/pom.xml
index 760b0cc08..3515d3789 100644
--- a/extensions/spark/kyuubi-spark-lineage/pom.xml
+++ b/extensions/spark/kyuubi-spark-lineage/pom.xml
@@ -25,7 +25,7 @@
<relativePath>../../../pom.xml</relativePath>
</parent>
- <artifactId>kyuubi-spark-lineage_2.12</artifactId>
+ <artifactId>kyuubi-spark-lineage_${scala.binary.version}</artifactId>
<packaging>jar</packaging>
<name>Kyuubi Dev Spark Lineage Extension</name>
<url>https://kyuubi.apache.org/</url>
diff --git a/externals/kyuubi-chat-engine/pom.xml
b/externals/kyuubi-chat-engine/pom.xml
index 28779f450..9ec8a966d 100644
--- a/externals/kyuubi-chat-engine/pom.xml
+++ b/externals/kyuubi-chat-engine/pom.xml
@@ -25,7 +25,7 @@
<relativePath>../../pom.xml</relativePath>
</parent>
- <artifactId>kyuubi-chat-engine_2.12</artifactId>
+ <artifactId>kyuubi-chat-engine_${scala.binary.version}</artifactId>
<packaging>jar</packaging>
<name>Kyuubi Project Engine Chat</name>
<url>https://kyuubi.apache.org/</url>
diff --git a/externals/kyuubi-flink-sql-engine/pom.xml
b/externals/kyuubi-flink-sql-engine/pom.xml
index 8c62521b7..d485e012b 100644
--- a/externals/kyuubi-flink-sql-engine/pom.xml
+++ b/externals/kyuubi-flink-sql-engine/pom.xml
@@ -25,7 +25,7 @@
<relativePath>../../pom.xml</relativePath>
</parent>
- <artifactId>kyuubi-flink-sql-engine_2.12</artifactId>
+ <artifactId>kyuubi-flink-sql-engine_${scala.binary.version}</artifactId>
<packaging>jar</packaging>
<name>Kyuubi Project Engine Flink SQL</name>
<url>https://kyuubi.apache.org/</url>
diff --git a/externals/kyuubi-hive-sql-engine/pom.xml
b/externals/kyuubi-hive-sql-engine/pom.xml
index a6a28a958..581e6f3de 100644
--- a/externals/kyuubi-hive-sql-engine/pom.xml
+++ b/externals/kyuubi-hive-sql-engine/pom.xml
@@ -25,7 +25,7 @@
<relativePath>../../pom.xml</relativePath>
</parent>
- <artifactId>kyuubi-hive-sql-engine_2.12</artifactId>
+ <artifactId>kyuubi-hive-sql-engine_${scala.binary.version}</artifactId>
<packaging>jar</packaging>
<name>Kyuubi Project Engine Hive SQL</name>
<url>https://kyuubi.apache.org/</url>
diff --git a/externals/kyuubi-jdbc-engine/pom.xml
b/externals/kyuubi-jdbc-engine/pom.xml
index 4bcc4fb60..95afd5289 100644
--- a/externals/kyuubi-jdbc-engine/pom.xml
+++ b/externals/kyuubi-jdbc-engine/pom.xml
@@ -25,7 +25,7 @@
<relativePath>../../pom.xml</relativePath>
</parent>
- <artifactId>kyuubi-jdbc-engine_2.12</artifactId>
+ <artifactId>kyuubi-jdbc-engine_${scala.binary.version}</artifactId>
<packaging>jar</packaging>
<name>Kyuubi Project Engine JDBC</name>
<url>https://kyuubi.apache.org/</url>
diff --git a/externals/kyuubi-spark-sql-engine/pom.xml
b/externals/kyuubi-spark-sql-engine/pom.xml
index 67674e8c9..9dcd6dca1 100644
--- a/externals/kyuubi-spark-sql-engine/pom.xml
+++ b/externals/kyuubi-spark-sql-engine/pom.xml
@@ -25,7 +25,7 @@
<relativePath>../../pom.xml</relativePath>
</parent>
- <artifactId>kyuubi-spark-sql-engine_2.12</artifactId>
+ <artifactId>kyuubi-spark-sql-engine_${scala.binary.version}</artifactId>
<packaging>jar</packaging>
<name>Kyuubi Project Engine Spark SQL</name>
<url>https://kyuubi.apache.org/</url>
diff --git a/externals/kyuubi-trino-engine/pom.xml
b/externals/kyuubi-trino-engine/pom.xml
index 7aea8f33a..e9926db74 100644
--- a/externals/kyuubi-trino-engine/pom.xml
+++ b/externals/kyuubi-trino-engine/pom.xml
@@ -25,7 +25,7 @@
<relativePath>../../pom.xml</relativePath>
</parent>
- <artifactId>kyuubi-trino-engine_2.12</artifactId>
+ <artifactId>kyuubi-trino-engine_${scala.binary.version}</artifactId>
<packaging>jar</packaging>
<name>Kyuubi Project Engine Trino</name>
<url>https://kyuubi.apache.org/</url>
diff --git a/integration-tests/kyuubi-flink-it/pom.xml
b/integration-tests/kyuubi-flink-it/pom.xml
index eada7841c..970a76d21 100644
--- a/integration-tests/kyuubi-flink-it/pom.xml
+++ b/integration-tests/kyuubi-flink-it/pom.xml
@@ -25,7 +25,7 @@
<relativePath>../pom.xml</relativePath>
</parent>
- <artifactId>kyuubi-flink-it_2.12</artifactId>
+ <artifactId>kyuubi-flink-it_${scala.binary.version}</artifactId>
<name>Kyuubi Test Flink SQL IT</name>
<url>https://kyuubi.apache.org/</url>
diff --git a/integration-tests/kyuubi-hive-it/pom.xml
b/integration-tests/kyuubi-hive-it/pom.xml
index ff9a6b35e..55f1f1ef2 100644
--- a/integration-tests/kyuubi-hive-it/pom.xml
+++ b/integration-tests/kyuubi-hive-it/pom.xml
@@ -25,7 +25,7 @@
<relativePath>../pom.xml</relativePath>
</parent>
- <artifactId>kyuubi-hive-it_2.12</artifactId>
+ <artifactId>kyuubi-hive-it_${scala.binary.version}</artifactId>
<name>Kyuubi Test Hive IT</name>
<url>https://kyuubi.apache.org/</url>
diff --git a/integration-tests/kyuubi-jdbc-it/pom.xml
b/integration-tests/kyuubi-jdbc-it/pom.xml
index 2d95de78e..3336a2b2f 100644
--- a/integration-tests/kyuubi-jdbc-it/pom.xml
+++ b/integration-tests/kyuubi-jdbc-it/pom.xml
@@ -25,7 +25,7 @@
<relativePath>../pom.xml</relativePath>
</parent>
- <artifactId>kyuubi-jdbc-it_2.12</artifactId>
+ <artifactId>kyuubi-jdbc-it_${scala.binary.version}</artifactId>
<name>Kyuubi Test Jdbc IT</name>
<url>https://kyuubi.apache.org/</url>
diff --git a/integration-tests/kyuubi-trino-it/pom.xml
b/integration-tests/kyuubi-trino-it/pom.xml
index 107d621b0..faf38e3e0 100644
--- a/integration-tests/kyuubi-trino-it/pom.xml
+++ b/integration-tests/kyuubi-trino-it/pom.xml
@@ -25,7 +25,7 @@
<relativePath>../pom.xml</relativePath>
</parent>
- <artifactId>kyuubi-trino-it_2.12</artifactId>
+ <artifactId>kyuubi-trino-it_${scala.binary.version}</artifactId>
<name>Kyuubi Test Trino IT</name>
<url>https://kyuubi.apache.org/</url>
diff --git a/integration-tests/kyuubi-zookeeper-it/pom.xml
b/integration-tests/kyuubi-zookeeper-it/pom.xml
index bded1585b..c25daffaa 100644
--- a/integration-tests/kyuubi-zookeeper-it/pom.xml
+++ b/integration-tests/kyuubi-zookeeper-it/pom.xml
@@ -25,7 +25,7 @@
<relativePath>../pom.xml</relativePath>
</parent>
- <artifactId>kyuubi-zookeeper-it_2.12</artifactId>
+ <artifactId>kyuubi-zookeeper-it_${scala.binary.version}</artifactId>
<name>Kyuubi Test Zookeeper IT</name>
<url>https://kyuubi.apache.org/</url>
diff --git a/kyuubi-assembly/pom.xml b/kyuubi-assembly/pom.xml
index 1087201b1..b9785bd7a 100644
--- a/kyuubi-assembly/pom.xml
+++ b/kyuubi-assembly/pom.xml
@@ -26,7 +26,7 @@
<relativePath>../pom.xml</relativePath>
</parent>
- <artifactId>kyuubi-assembly_2.12</artifactId>
+ <artifactId>kyuubi-assembly_${scala.binary.version}</artifactId>
<packaging>pom</packaging>
<name>Kyuubi Project Assembly</name>
<url>https://kyuubi.apache.org/</url>
diff --git a/kyuubi-common/pom.xml b/kyuubi-common/pom.xml
index 1b0ba3110..b6c9f6dcb 100644
--- a/kyuubi-common/pom.xml
+++ b/kyuubi-common/pom.xml
@@ -25,7 +25,7 @@
<relativePath>../pom.xml</relativePath>
</parent>
- <artifactId>kyuubi-common_2.12</artifactId>
+ <artifactId>kyuubi-common_${scala.binary.version}</artifactId>
<packaging>jar</packaging>
<name>Kyuubi Project Common</name>
<url>https://kyuubi.apache.org/</url>
diff --git a/kyuubi-ctl/pom.xml b/kyuubi-ctl/pom.xml
index da1a5777a..0b3e527c9 100644
--- a/kyuubi-ctl/pom.xml
+++ b/kyuubi-ctl/pom.xml
@@ -25,7 +25,7 @@
<relativePath>../pom.xml</relativePath>
</parent>
- <artifactId>kyuubi-ctl_2.12</artifactId>
+ <artifactId>kyuubi-ctl_${scala.binary.version}</artifactId>
<packaging>jar</packaging>
<name>Kyuubi Project Control</name>
<url>https://kyuubi.apache.org/</url>
diff --git a/kyuubi-events/pom.xml b/kyuubi-events/pom.xml
index 760955fc6..11a99198c 100644
--- a/kyuubi-events/pom.xml
+++ b/kyuubi-events/pom.xml
@@ -25,7 +25,7 @@
<relativePath>../pom.xml</relativePath>
</parent>
- <artifactId>kyuubi-events_2.12</artifactId>
+ <artifactId>kyuubi-events_${scala.binary.version}</artifactId>
<packaging>jar</packaging>
<name>Kyuubi Project Events</name>
<url>https://kyuubi.apache.org/</url>
diff --git a/kyuubi-ha/pom.xml b/kyuubi-ha/pom.xml
index cf605b37f..b42bed924 100644
--- a/kyuubi-ha/pom.xml
+++ b/kyuubi-ha/pom.xml
@@ -25,7 +25,7 @@
<relativePath>../pom.xml</relativePath>
</parent>
- <artifactId>kyuubi-ha_2.12</artifactId>
+ <artifactId>kyuubi-ha_${scala.binary.version}</artifactId>
<packaging>jar</packaging>
<name>Kyuubi Project High Availability</name>
<url>https://kyuubi.apache.org/</url>
diff --git a/kyuubi-metrics/pom.xml b/kyuubi-metrics/pom.xml
index 2edeb73c7..adac74d31 100644
--- a/kyuubi-metrics/pom.xml
+++ b/kyuubi-metrics/pom.xml
@@ -24,7 +24,7 @@
<version>1.8.0-SNAPSHOT</version>
</parent>
- <artifactId>kyuubi-metrics_2.12</artifactId>
+ <artifactId>kyuubi-metrics_${scala.binary.version}</artifactId>
<packaging>jar</packaging>
<name>Kyuubi Project Metrics</name>
<url>https://kyuubi.apache.org/</url>
diff --git a/kyuubi-server/pom.xml b/kyuubi-server/pom.xml
index 8376d84a0..1cb6d424d 100644
--- a/kyuubi-server/pom.xml
+++ b/kyuubi-server/pom.xml
@@ -24,7 +24,7 @@
<version>1.8.0-SNAPSHOT</version>
</parent>
- <artifactId>kyuubi-server_2.12</artifactId>
+ <artifactId>kyuubi-server_${scala.binary.version}</artifactId>
<packaging>jar</packaging>
<name>Kyuubi Project Server</name>
<url>https://kyuubi.apache.org/</url>
diff --git a/kyuubi-util-scala/pom.xml b/kyuubi-util-scala/pom.xml
index 19df6d78e..2e86c8cae 100644
--- a/kyuubi-util-scala/pom.xml
+++ b/kyuubi-util-scala/pom.xml
@@ -24,7 +24,7 @@
<version>1.8.0-SNAPSHOT</version>
</parent>
- <artifactId>kyuubi-util-scala_2.12</artifactId>
+ <artifactId>kyuubi-util-scala_${scala.binary.version}</artifactId>
<packaging>jar</packaging>
<name>Kyuubi Project Util Scala</name>
<url>https://kyuubi.apache.org/</url>
diff --git a/kyuubi-zookeeper/pom.xml b/kyuubi-zookeeper/pom.xml
index e10ac2d9d..f58415c99 100644
--- a/kyuubi-zookeeper/pom.xml
+++ b/kyuubi-zookeeper/pom.xml
@@ -24,7 +24,7 @@
<version>1.8.0-SNAPSHOT</version>
</parent>
- <artifactId>kyuubi-zookeeper_2.12</artifactId>
+ <artifactId>kyuubi-zookeeper_${scala.binary.version}</artifactId>
<packaging>jar</packaging>
<name>Kyuubi Project Embedded Zookeeper</name>
<url>https://kyuubi.apache.org/</url>
diff --git a/tools/spark-block-cleaner/pom.xml
b/tools/spark-block-cleaner/pom.xml
index 02e682c3a..e0520e463 100644
--- a/tools/spark-block-cleaner/pom.xml
+++ b/tools/spark-block-cleaner/pom.xml
@@ -25,7 +25,7 @@
<relativePath>../../pom.xml</relativePath>
</parent>
- <artifactId>spark-block-cleaner_2.12</artifactId>
+ <artifactId>spark-block-cleaner_${scala.binary.version}</artifactId>
<packaging>jar</packaging>
<name>Kyuubi Project Spark Block Cleaner</name>
<url>https://kyuubi.apache.org/</url>