You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by pd...@apache.org on 2022/07/22 11:46:51 UTC

[zeppelin] branch master updated: [HOTFIX] - fix s3 enforcer (#4421)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 53f494f211 [HOTFIX] - fix s3 enforcer (#4421)
53f494f211 is described below

commit 53f494f21122c9545502c67c6abf8366c9d58bcc
Author: Philipp Dallig <ph...@gmail.com>
AuthorDate: Fri Jul 22 13:46:46 2022 +0200

    [HOTFIX] - fix s3 enforcer (#4421)
---
 zeppelin-plugins/notebookrepo/s3/pom.xml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/zeppelin-plugins/notebookrepo/s3/pom.xml b/zeppelin-plugins/notebookrepo/s3/pom.xml
index c6cd61a634..3d102055b1 100644
--- a/zeppelin-plugins/notebookrepo/s3/pom.xml
+++ b/zeppelin-plugins/notebookrepo/s3/pom.xml
@@ -38,6 +38,24 @@
         <plugin.name>NotebookRepo/S3NotebookRepo</plugin.name>
     </properties>
 
+    <dependencyManagement>
+        <dependencies>
+            <!-- Fix enforcer plugin,
+                 since aws-java-sdk-s3 ships with multiple artifact versions of
+                 com.fasterxml.jackson.core:jackson-databind. -->
+            <dependency>
+                <groupId>com.fasterxml.jackson.dataformat</groupId>
+                <artifactId>jackson-dataformat-cbor</artifactId>
+                <version>2.12.6</version>
+                <exclusions>
+                    <exclusion>
+                        <groupId>com.fasterxml.jackson.core</groupId>
+                        <artifactId>jackson-databind</artifactId>
+                    </exclusion>
+                </exclusions>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
     <dependencies>
         <dependency>
             <groupId>com.amazonaws</groupId>