Skip to content

Commit

Permalink
[core] Fix missing kotlin and okio dependencies when using okhttp3. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
LinMingQiang authored Feb 14, 2025
1 parent f993f18 commit 9d2a460
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
10 changes: 10 additions & 0 deletions paimon-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -284,13 +284,23 @@ under the License.
<artifactSet>
<includes combine.children="append">
<include>com.squareup.okhttp3:okhttp</include>
<include>com.squareup.okio:okio-jvm</include>
<include>org.jetbrains.kotlin:kotlin-stdlib</include>
</includes>
</artifactSet>
<relocations>
<relocation>
<pattern>okhttp3</pattern>
<shadedPattern>org.apache.paimon.shade.okhttp3</shadedPattern>
</relocation>
<relocation>
<pattern>kotlin</pattern>
<shadedPattern>org.apache.paimon.shade.kotlin</shadedPattern>
</relocation>
<relocation>
<pattern>okio</pattern>
<shadedPattern>org.apache.paimon.shade.okio</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
Expand Down
4 changes: 3 additions & 1 deletion paimon-core/src/main/resources/META-INF/NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).

This project bundles the following dependencies under the Apache Software License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
- com.squareup.okhttp3:okhttp:4.12.0
- com.squareup.okhttp3:okhttp:4.12.0
- com.squareup.okio:okio-jvm:3.6.0
- org.jetbrains.kotlin:kotlin-stdlib:1.8.21

0 comments on commit 9d2a460

Please sign in to comment.