Skip to content

Commit

Permalink
Remove bouncycastle shaded (#551)
Browse files Browse the repository at this point in the history
* Fix bouncycastle scope

* Fix bouncycastle scope
  • Loading branch information
finefuture authored and SkyeBeFreeman committed Aug 29, 2024
1 parent 92a4ade commit b5ef058
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
10 changes: 10 additions & 0 deletions polaris-distribution/polaris-all/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@
<version>${javax.annotation.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk15to18</artifactId>
<version>${bouncycastle.version}</version>
</dependency>
</dependencies>

<build>
Expand Down Expand Up @@ -166,6 +171,11 @@
<shadedPattern>shade.polaris.io.netty</shadedPattern>
</relocation>
</relocations>
<artifactSet>
<excludes>
<exclude>org.bouncycastle:*</exclude>
</excludes>
</artifactSet>
</configuration>
</execution>
</executions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk15to18</artifactId>
<version>1.78.1</version>
<version>${bouncycastle.version}</version>
</dependency>
<dependency>
<groupId>com.tencent.polaris</groupId>
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
<okhttp.version>2.7.5</okhttp.version>
<httpclient.version>4.5.14</httpclient.version>
<jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version>
<bouncycastle.version>1.78.1</bouncycastle.version>
</properties>

<dependencies>
Expand Down

0 comments on commit b5ef058

Please sign in to comment.