Skip to content

Commit a635a61

Browse files
committed
[fix](build) Remove duplicate Maven dependency declarations
1 parent 34b9dd6 commit a635a61

2 files changed

Lines changed: 2 additions & 19 deletions

File tree

‎fe/be-java-extensions/preload-extensions/pom.xml‎

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ under the License.
123123
<groupId>com.zaxxer</groupId>
124124
<artifactId>HikariCP</artifactId>
125125
</dependency>
126-
<!-- For BE CosN Access -->
126+
<!-- For BE CosN access; declare once because strict Maven model validation rejects duplicates. -->
127127
<dependency>
128128
<groupId>com.qcloud.cos</groupId>
129129
<artifactId>hadoop-cos</artifactId>
@@ -139,18 +139,6 @@ under the License.
139139
<groupId>com.google.guava</groupId>
140140
<artifactId>guava</artifactId>
141141
</dependency>
142-
<!-- For BE CosN Access -->
143-
<dependency>
144-
<groupId>com.qcloud.cos</groupId>
145-
<artifactId>hadoop-cos</artifactId>
146-
<version>${tencentcos.version}</version>
147-
<exclusions>
148-
<exclusion>
149-
<groupId>org.json</groupId>
150-
<artifactId>json</artifactId>
151-
</exclusion>
152-
</exclusions>
153-
</dependency>
154142

155143
<!-- these dependencies are for iceberg-aws -->
156144
<dependency>

‎fe/pom.xml‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,6 @@ under the License.
341341
<hudi-spark.version>hudi-spark3.4.x</hudi-spark.version>
342342
<hive.version>3.1.3</hive.version>
343343
<hive.common.version>2.3.9</hive.common.version>
344-
<nimbusds.version>9.35</nimbusds.version>
345344
<mapreduce.client.version>2.10.1</mapreduce.client.version>
346345
<calcite.version>1.33.0</calcite.version>
347346
<avatica.version>1.22.0</avatica.version>
@@ -627,6 +626,7 @@ under the License.
627626
<artifactId>quartz</artifactId>
628627
<version>${quartz.version}</version>
629628
</dependency>
629+
<!-- Keep a single managed JWT dependency: strict Maven model validation rejects duplicates. -->
630630
<dependency>
631631
<groupId>com.nimbusds</groupId>
632632
<artifactId>nimbus-jose-jwt</artifactId>
@@ -1928,11 +1928,6 @@ under the License.
19281928
</exclusion>
19291929
</exclusions>
19301930
</dependency>
1931-
<dependency>
1932-
<groupId>com.nimbusds</groupId>
1933-
<artifactId>nimbus-jose-jwt</artifactId>
1934-
<version>${nimbusds.version}</version>
1935-
</dependency>
19361931
<dependency>
19371932
<groupId>jakarta.annotation</groupId>
19381933
<artifactId>jakarta.annotation-api</artifactId>

0 commit comments

Comments
 (0)