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

madhan pushed a commit to branch ranger-2.5
in repository https://gitbox.apache.org/repos/asf/ranger.git

commit d1ff3133251342217ae4481d68563dee845f915a
Author: Madhan Neethiraj <mad...@apache.org>
AuthorDate: Tue Jul 16 22:06:26 2024 -0700

    RANGER-4862: updated plugins packaging to include jackson libraries
    
    (cherry picked from commit a855a4f37047d33d4c42c971ccf4633eb1ec517e)
---
 agents-common/pom.xml                             | 5 +++++
 distro/src/main/assembly/hbase-agent.xml          | 4 ++++
 distro/src/main/assembly/plugin-atlas.xml         | 1 +
 distro/src/main/assembly/plugin-elasticsearch.xml | 1 +
 distro/src/main/assembly/plugin-kafka.xml         | 1 +
 distro/src/main/assembly/plugin-ozone.xml         | 1 +
 distro/src/main/assembly/plugin-presto.xml        | 1 +
 distro/src/main/assembly/plugin-solr.xml          | 1 +
 distro/src/main/assembly/plugin-trino.xml         | 1 +
 distro/src/main/assembly/ranger-tools.xml         | 1 +
 distro/src/main/assembly/sample-client.xml        | 1 +
 distro/src/main/assembly/storm-agent.xml          | 4 ++++
 12 files changed, 22 insertions(+)

diff --git a/agents-common/pom.xml b/agents-common/pom.xml
index ff68a298d..82f083f2a 100644
--- a/agents-common/pom.xml
+++ b/agents-common/pom.xml
@@ -122,6 +122,11 @@
             <artifactId>jackson-jaxrs-json-provider</artifactId>
             <version>${fasterxml.jackson.version}</version>
         </dependency>
+        <dependency>
+            <groupId>com.fasterxml.jackson.jaxrs</groupId>
+            <artifactId>jackson-jaxrs-base</artifactId>
+            <version>${fasterxml.jackson.version}</version>
+        </dependency>
 
 
         <dependency>
diff --git a/distro/src/main/assembly/hbase-agent.xml 
b/distro/src/main/assembly/hbase-agent.xml
index 01ffea002..37e2903a4 100644
--- a/distro/src/main/assembly/hbase-agent.xml
+++ b/distro/src/main/assembly/hbase-agent.xml
@@ -55,6 +55,10 @@
         <includes>
           
<include>com.sun.jersey:jersey-client:jar:${jersey-bundle.version}</include>
           
<include>com.sun.jersey:jersey-core:jar:${jersey-bundle.version}</include>
+          
<include>com.fasterxml.jackson.core:jackson-annotations:jar:${fasterxml.jackson.version}</include>
+          
<include>com.fasterxml.jackson.core:jackson-core:jar:${fasterxml.jackson.version}</include>
+          
<include>com.fasterxml.jackson.core:jackson-databind:jar:${fasterxml.jackson.version}</include>
+          
<include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:jar:${fasterxml.jackson.version}</include>
           
<include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:${fasterxml.jackson.version}</include>
           
<include>org.eclipse.jetty:jetty-client:jar:${jetty-client.version}</include>
           
<include>org.apache.httpcomponents:httpmime:jar:${httpcomponents.httpmime.version}</include>
diff --git a/distro/src/main/assembly/plugin-atlas.xml 
b/distro/src/main/assembly/plugin-atlas.xml
index 6fa539639..59b229c18 100644
--- a/distro/src/main/assembly/plugin-atlas.xml
+++ b/distro/src/main/assembly/plugin-atlas.xml
@@ -58,6 +58,7 @@
           
<include>com.fasterxml.jackson.core:jackson-annotations:jar:${fasterxml.jackson.version}</include>
           
<include>com.fasterxml.jackson.core:jackson-core:jar:${fasterxml.jackson.version}</include>
           
<include>com.fasterxml.jackson.core:jackson-databind:jar:${fasterxml.jackson.version}</include>
+          
<include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:jar:${fasterxml.jackson.version}</include>
           
<include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:${fasterxml.jackson.version}</include>
           
<include>org.apache.httpcomponents:httpmime:jar:${httpcomponents.httpmime.version}</include>
           
<include>org.apache.httpcomponents:httpclient:jar:${httpcomponents.httpclient.version}</include>
diff --git a/distro/src/main/assembly/plugin-elasticsearch.xml 
b/distro/src/main/assembly/plugin-elasticsearch.xml
index 51559b7be..64a68b649 100644
--- a/distro/src/main/assembly/plugin-elasticsearch.xml
+++ b/distro/src/main/assembly/plugin-elasticsearch.xml
@@ -76,6 +76,7 @@
           
<include>com.fasterxml.jackson.core:jackson-annotations:jar:${fasterxml.jackson.version}</include>
           
<include>com.fasterxml.jackson.core:jackson-core:jar:${fasterxml.jackson.version}</include>
           
<include>com.fasterxml.jackson.core:jackson-databind:${fasterxml.jackson.version}</include>
+          
<include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:jar:${fasterxml.jackson.version}</include>
           
<include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:${fasterxml.jackson.version}</include>
           <include>org.apache.solr:solr-solrj:jar:${solr.version}</include>
           <include>commons-codec:commons-codec</include>
diff --git a/distro/src/main/assembly/plugin-kafka.xml 
b/distro/src/main/assembly/plugin-kafka.xml
index 770d05a71..4fe600cd9 100644
--- a/distro/src/main/assembly/plugin-kafka.xml
+++ b/distro/src/main/assembly/plugin-kafka.xml
@@ -69,6 +69,7 @@
                                        
<include>com.fasterxml.jackson.core:jackson-annotations:jar:${fasterxml.jackson.version}</include>
                                        
<include>com.fasterxml.jackson.core:jackson-core:jar:${fasterxml.jackson.version}</include>
                                        
<include>com.fasterxml.jackson.core:jackson-databind:jar:${fasterxml.jackson.version}</include>
+                                        
<include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:jar:${fasterxml.jackson.version}</include>
                                        
<include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:${fasterxml.jackson.version}</include>
                                        
<include>org.apache.solr:solr-solrj:jar:${solr.version}</include>
                                        
<include>commons-codec:commons-codec</include>
diff --git a/distro/src/main/assembly/plugin-ozone.xml 
b/distro/src/main/assembly/plugin-ozone.xml
index dde9438f5..5f1e6a538 100644
--- a/distro/src/main/assembly/plugin-ozone.xml
+++ b/distro/src/main/assembly/plugin-ozone.xml
@@ -105,6 +105,7 @@
                     
<include>com.fasterxml.jackson.core:jackson-annotations:jar:${fasterxml.jackson.version}</include>
                     
<include>com.fasterxml.jackson.core:jackson-core:jar:${fasterxml.jackson.version}</include>
                     
<include>com.fasterxml.jackson.core:jackson-databind:jar:${fasterxml.jackson.version}</include>
+                    
<include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:jar:${fasterxml.jackson.version}</include>
                     
<include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:${fasterxml.jackson.version}</include>
                            <include>com.sun.xml.bind:jaxb-impl</include>
                     <include>commons-lang:commons-lang</include>
diff --git a/distro/src/main/assembly/plugin-presto.xml 
b/distro/src/main/assembly/plugin-presto.xml
index f57ace6a7..e4101237a 100644
--- a/distro/src/main/assembly/plugin-presto.xml
+++ b/distro/src/main/assembly/plugin-presto.xml
@@ -97,6 +97,7 @@
                     
<include>com.fasterxml.jackson.core:jackson-annotations:jar:${fasterxml.jackson.version}</include>
                     
<include>com.fasterxml.jackson.core:jackson-core:jar:${fasterxml.jackson.version}</include>
                     
<include>com.fasterxml.jackson.core:jackson-databind:jar:${fasterxml.jackson.version}</include>
+                    
<include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:jar:${fasterxml.jackson.version}</include>
                     
<include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:${fasterxml.jackson.version}</include>
                     
<include>org.apache.zookeeper:zookeeper:jar:${zookeeper.version}</include>
                     <include>net.java.dev.jna:jna</include>
diff --git a/distro/src/main/assembly/plugin-solr.xml 
b/distro/src/main/assembly/plugin-solr.xml
index 348c37ec4..b1b110421 100644
--- a/distro/src/main/assembly/plugin-solr.xml
+++ b/distro/src/main/assembly/plugin-solr.xml
@@ -53,6 +53,7 @@
           
<include>com.fasterxml.jackson.core:jackson-annotations:jar:${fasterxml.jackson.version}</include>
           
<include>com.fasterxml.jackson.core:jackson-core:jar:${fasterxml.jackson.version}</include>
           
<include>com.fasterxml.jackson.core:jackson-databind:jar:${fasterxml.jackson.version}</include>
+          
<include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:jar:${fasterxml.jackson.version}</include>
           
<include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:${fasterxml.jackson.version}</include>
           
<include>com.kstruct:gethostname4j:jar:${kstruct.gethostname4j.version}</include>
           <include>net.java.dev.jna:jna:jar:${jna.version}</include>
diff --git a/distro/src/main/assembly/plugin-trino.xml 
b/distro/src/main/assembly/plugin-trino.xml
index 5c3a989d3..16e2ddec7 100644
--- a/distro/src/main/assembly/plugin-trino.xml
+++ b/distro/src/main/assembly/plugin-trino.xml
@@ -89,6 +89,7 @@
                     
<include>com.fasterxml.jackson.core:jackson-annotations:jar:${fasterxml.jackson.version}</include>
                     
<include>com.fasterxml.jackson.core:jackson-core:jar:${fasterxml.jackson.version}</include>
                     
<include>com.fasterxml.jackson.core:jackson-databind:jar:${fasterxml.jackson.version}</include>
+                    
<include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:jar:${fasterxml.jackson.version}</include>
                     
<include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:${fasterxml.jackson.version}</include>
                     
<include>org.apache.zookeeper:zookeeper:jar:${zookeeper.version}</include>
                     <include>net.java.dev.jna:jna</include>
diff --git a/distro/src/main/assembly/ranger-tools.xml 
b/distro/src/main/assembly/ranger-tools.xml
index 1c9c2e9fe..a3576d83a 100644
--- a/distro/src/main/assembly/ranger-tools.xml
+++ b/distro/src/main/assembly/ranger-tools.xml
@@ -62,6 +62,7 @@
               
<include>com.fasterxml.jackson.core:jackson-annotations:jar:${fasterxml.jackson.version}</include>
               
<include>com.fasterxml.jackson.core:jackson-core:jar:${fasterxml.jackson.version}</include>
               
<include>com.fasterxml.jackson.core:jackson-databind:jar:${fasterxml.jackson.version}</include>
+              
<include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:jar:${fasterxml.jackson.version}</include>
               
<include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:${fasterxml.jackson.version}</include>
               
<include>org.codehaus.woodstox:stax2-api:jar:${codehaus.woodstox.stax2api.version}</include>
               
<include>com.fasterxml.woodstox:woodstox-core:jar:${fasterxml.woodstox.version}</include>
diff --git a/distro/src/main/assembly/sample-client.xml 
b/distro/src/main/assembly/sample-client.xml
index ef4d27e79..dd01d1f47 100644
--- a/distro/src/main/assembly/sample-client.xml
+++ b/distro/src/main/assembly/sample-client.xml
@@ -60,6 +60,7 @@
                     
<include>com.fasterxml.jackson.core:jackson-annotations:jar:${fasterxml.jackson.version}</include>
                     
<include>com.fasterxml.jackson.core:jackson-core:jar:${fasterxml.jackson.version}</include>
                     
<include>com.fasterxml.jackson.core:jackson-databind:jar:${fasterxml.jackson.version}</include>
+                    
<include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:jar:${fasterxml.jackson.version}</include>
                     
<include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:${fasterxml.jackson.version}</include>
                     <include>org.apache.ranger:ranger-plugins-audit</include>
                     
<include>com.kstruct:gethostname4j:jar:${kstruct.gethostname4j.version}</include>
diff --git a/distro/src/main/assembly/storm-agent.xml 
b/distro/src/main/assembly/storm-agent.xml
index 1816490e5..083bbbf22 100644
--- a/distro/src/main/assembly/storm-agent.xml
+++ b/distro/src/main/assembly/storm-agent.xml
@@ -74,6 +74,10 @@
               
<include>commons-cli:commons-cli:jar:${commons.cli.version}</include>
               
<include>commons-lang:commons-lang:jar:${commons.lang.version}</include>
               
<include>commons-io:commons-io:jar:${commons.io.version}</include>
+              
<include>com.fasterxml.jackson.core:jackson-annotations:jar:${fasterxml.jackson.version}</include>
+              
<include>com.fasterxml.jackson.core:jackson-core:jar:${fasterxml.jackson.version}</include>
+              
<include>com.fasterxml.jackson.core:jackson-databind:jar:${fasterxml.jackson.version}</include>
+              
<include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:jar:${fasterxml.jackson.version}</include>
               
<include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider</include>
               <include>com.fasterxml.jackson.core:jackson-databind</include>
               <include>com.fasterxml.jackson.core:jackson-core</include>

Reply via email to