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

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


The following commit(s) were added to refs/heads/master by this push:
     new 96ea98d  SUBMARINE-537. missing JacksonJsonProvider in uber jar
96ea98d is described below

commit 96ea98ded15296ef8dfbd9015f61e719f0d4870f
Author: Gustavo Martin Morcuende <[email protected]>
AuthorDate: Sat Jun 20 15:00:30 2020 +0200

    SUBMARINE-537. missing JacksonJsonProvider in uber jar
    
    ### What is this PR for?
    submarine-spark-security fails with java.lang.NoClassDefFoundError
    
    uber jar is missing 
submarine_spark_ranger_project/org/codehaus/jackson/jaxrs/JacksonJsonProvider
    
    ### What type of PR is it?
    [Bug Fix]
    
    ### Todos
    * [ ] - Task
    
    ### What is the Jira issue?
    https://issues.apache.org/jira/browse/SUBMARINE-537
    
    ### How should this be tested?
    
    ### Screenshots (if appropriate)
    
    ### Questions:
    * Does the licenses files need update? Yes/No
    * Is there breaking changes for older versions? Yes/No
    * Does this needs documentation? Yes/No
    
    Author: Gustavo Martin Morcuende <[email protected]>
    
    Closes #319 from gumartinm/SUBMARINE-537 and squashes the following commits:
    
    b4ece74 [Gustavo Martin Morcuende] SUBMARINE-537. fixing 
org.codehaus.jackson:jackson-jaxrs version
    277e149 [Gustavo Martin Morcuende] SUBMARINE-537. Including 
JacksonJsonProvider in uber jar
---
 submarine-security/spark-security/pom.xml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/submarine-security/spark-security/pom.xml 
b/submarine-security/spark-security/pom.xml
index b44ee61..06e87a9 100644
--- a/submarine-security/spark-security/pom.xml
+++ b/submarine-security/spark-security/pom.xml
@@ -57,6 +57,7 @@
     <jna.version>5.2.0</jna.version>
     <jna-platform.version>5.2.0</jna-platform.version>
     <jna.scope>test</jna.scope>
+    <codehaus.jackson.version>1.9.13</codehaus.jackson.version>
   </properties>
   <dependencies>
     <dependency>
@@ -285,6 +286,13 @@
       <scope>${jna.scope}</scope>
     </dependency>
 
+    <dependency>
+      <groupId>org.codehaus.jackson</groupId>
+      <artifactId>jackson-jaxrs</artifactId>
+      <version>${codehaus.jackson.version}</version>
+      <scope>compile</scope>
+    </dependency>
+
   </dependencies>
 
   <build>


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

Reply via email to