This is an automated email from the ASF dual-hosted git repository.

xvrl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git


The following commit(s) were added to refs/heads/master by this push:
     new ff0e838d309 add gson to dependencyManagement (#15488)
ff0e838d309 is described below

commit ff0e838d309cfb3d45b460335d078215a109a9cf
Author: Jan Werner <[email protected]>
AuthorDate: Tue Dec 5 14:50:32 2023 -0500

    add gson to dependencyManagement (#15488)
    
    This change completes the change introduced in #15461
    and unifies the version of gson dependency used between all the modules.
    
    gson is used by kubernetes-extension, avro-extensions, ranger-security,
    and as a test dependency in several core modules.
    
    ---------
    
    Co-authored-by: Xavier Léauté <[email protected]>
---
 extensions-core/druid-ranger-security/pom.xml |  2 --
 pom.xml                                       | 10 +++++++++-
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/extensions-core/druid-ranger-security/pom.xml 
b/extensions-core/druid-ranger-security/pom.xml
index e9dfc6502bc..f888cf1be4f 100644
--- a/extensions-core/druid-ranger-security/pom.xml
+++ b/extensions-core/druid-ranger-security/pom.xml
@@ -197,8 +197,6 @@
         <dependency>
             <groupId>com.google.code.gson</groupId>
             <artifactId>gson</artifactId>
-            <scope>compile</scope>
-            <version>${gson.version}</version>
         </dependency>
 
         <!-- Tests -->
diff --git a/pom.xml b/pom.xml
index b8a503f7c57..a23c4b96dee 100644
--- a/pom.xml
+++ b/pom.xml
@@ -79,7 +79,6 @@
         <apache.kafka.version>3.6.0</apache.kafka.version>
         <apache.ranger.version>2.4.0</apache.ranger.version>
         <gson.version>2.10.1</gson.version>
-        <apache.ranger.gson.version>2.10.1</apache.ranger.gson.version>
         <scala.library.version>2.13.11</scala.library.version>
         <avatica.version>1.23.0</avatica.version>
         <avro.version>1.11.3</avro.version>
@@ -412,6 +411,15 @@
                 <artifactId>kotlin-stdlib</artifactId>
                 <version>1.6.10</version>
             </dependency>
+            <!-- Transitive dependency of kubernetes-client-java in 
kubernetes-extension,
+            schema-repo in avro-extensions, and com.google.caliper:caliper in 
druid-server
+            and direct dependency of druid-ranger
+              -->
+            <dependency>
+                <groupId>com.google.code.gson</groupId>
+                <artifactId>gson</artifactId>
+                <version>${gson.version}</version>
+            </dependency>
             <dependency>
                 <groupId>org.apache.zookeeper</groupId>
                 <artifactId>zookeeper</artifactId>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to