This is an automated email from the ASF dual-hosted git repository.
dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong.git
The following commit(s) were added to refs/heads/master by this push:
new 647321f0b [INLONG-7412][Sort] Fix dependency error:
java.lang.NoClassDefFoundError for iceberg (#7414)
647321f0b is described below
commit 647321f0b2229d3dc1d6614e5749fd2d0f0c34da
Author: LinChen <[email protected]>
AuthorDate: Tue Feb 28 09:50:01 2023 +0800
[INLONG-7412][Sort] Fix dependency error: java.lang.NoClassDefFoundError
for iceberg (#7414)
Co-authored-by: leolinchen <[email protected]>
---
inlong-sort/sort-connectors/iceberg/pom.xml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/inlong-sort/sort-connectors/iceberg/pom.xml
b/inlong-sort/sort-connectors/iceberg/pom.xml
index 7d33b4a6e..ad82e59da 100644
--- a/inlong-sort/sort-connectors/iceberg/pom.xml
+++ b/inlong-sort/sort-connectors/iceberg/pom.xml
@@ -88,6 +88,8 @@
<include>org.apache.hive:hive-exec</include>
<include>org.apache.thrift:libfb303</include>
<include>com.google.protobuf:*</include>
+ <include>com.amazonaws:*</include>
+
<include>com.fasterxml.jackson.core:jackson-databind</include>
</includes>
</artifactSet>
<filters>
@@ -104,6 +106,14 @@
<pattern>org.apache.inlong.sort.base</pattern>
<shadedPattern>org.apache.inlong.sort.iceberg.shaded.org.apache.inlong.sort.base</shadedPattern>
</relocation>
+ <relocation>
+
<pattern>com.fasterxml.jackson.databind</pattern>
+
<shadedPattern>org.apache.inlong.sort.iceberg.shaded.com.fasterxml.jackson.databind</shadedPattern>
+ </relocation>
+ <relocation>
+ <pattern>com.amazonaws</pattern>
+
<shadedPattern>org.apache.inlong.sort.iceberg.shaded.com.amazonaws</shadedPattern>
+ </relocation>
</relocations>
</configuration>
</execution>