Skip to content

Commit

Permalink
Add shading dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-alhuang committed Apr 9, 2024
1 parent 30a5daf commit 17e6284
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 0 deletions.
60 changes: 60 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1057,6 +1057,66 @@
</excludes>
</artifactSet>
<relocations>
<relocation>
<pattern>io.perfmark</pattern>
<shadedPattern>${shadeBase}.io.perfmark</shadedPattern>
</relocation>
<relocation>
<pattern>io.grpc</pattern>
<shadedPattern>${shadeBase}.io.grpc</shadedPattern>
</relocation>
<relocation>
<pattern>io.opencensus</pattern>
<shadedPattern>${shadeBase}.io.opencensus</shadedPattern>
</relocation>
<relocation>
<pattern>com.amazonaws</pattern>
<shadedPattern>${shadeBase}.com.amazonaws</shadedPattern>
</relocation>
<relocation>
<pattern>org.conscrypt</pattern>
<shadedPattern>${shadeBase}.org.conscrypt</shadedPattern>
</relocation>
<relocation>
<pattern>com.microsoft</pattern>
<shadedPattern>${shadeBase}.com.microsoft</shadedPattern>
</relocation>
<relocation>
<pattern>com.yammer</pattern>
<shadedPattern>${shadeBase}.com.yammer</shadedPattern>
</relocation>
<relocation>
<pattern>org.jsoup</pattern>
<shadedPattern>${shadeBase}.org.jsoup</shadedPattern>
</relocation>
<relocation>
<pattern>org.joda</pattern>
<shadedPattern>${shadeBase}.org.joda</shadedPattern>
</relocation>
<relocation>
<pattern>org.threeten</pattern>
<shadedPattern>${shadeBase}.org.threeten</shadedPattern>
</relocation>
<relocation>
<pattern>google</pattern>
<shadedPattern>${shadeBase}.google</shadedPattern>
</relocation>
<relocation>
<pattern>grpc</pattern>
<shadedPattern>${shadeBase}.grpc</shadedPattern>
</relocation>
<relocation>
<pattern>android</pattern>
<shadedPattern>${shadeBase}.android</shadedPattern>
</relocation>
<relocation>
<pattern>opencensus</pattern>
<shadedPattern>${shadeBase}.opencensus</shadedPattern>
</relocation>
<relocation>
<pattern>javax.servlet</pattern>
<shadedPattern>${shadeBase}.javax.servlet</shadedPattern>
</relocation>
<relocation>
<pattern>com.nimbusds</pattern>
<shadedPattern>${shadeBase}.com.nimbusds</shadedPattern>
Expand Down
1 change: 1 addition & 0 deletions scripts/check_content.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ if jar tvf $DIR/../target/snowflake-ingest-sdk.jar | awk '{print $8}' | \
grep -v PropertyList-1.0.dtd | \
grep -v properties.dtd | \
grep -v parquet.thrift | \
grep -v dependencies.properties | \

# Native zstd libraries are allowed
grep -v -E '^darwin' | \
Expand Down

0 comments on commit 17e6284

Please sign in to comment.