Skip to content

Commit b5ef058

Browse files
finefutureSkyeBeFreeman
authored andcommitted
Remove bouncycastle shaded (#551)
* Fix bouncycastle scope * Fix bouncycastle scope
1 parent 92a4ade commit b5ef058

File tree

3 files changed

+12
-1
lines changed
  • polaris-distribution/polaris-all
  • polaris-plugins/polaris-plugins-configfilefilter/configfilefilter-crypto

3 files changed

+12
-1
lines changed

polaris-distribution/polaris-all/pom.xml

+10
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@
4242
<version>${javax.annotation.version}</version>
4343
<scope>provided</scope>
4444
</dependency>
45+
<dependency>
46+
<groupId>org.bouncycastle</groupId>
47+
<artifactId>bcpkix-jdk15to18</artifactId>
48+
<version>${bouncycastle.version}</version>
49+
</dependency>
4550
</dependencies>
4651

4752
<build>
@@ -166,6 +171,11 @@
166171
<shadedPattern>shade.polaris.io.netty</shadedPattern>
167172
</relocation>
168173
</relocations>
174+
<artifactSet>
175+
<excludes>
176+
<exclude>org.bouncycastle:*</exclude>
177+
</excludes>
178+
</artifactSet>
169179
</configuration>
170180
</execution>
171181
</executions>

polaris-plugins/polaris-plugins-configfilefilter/configfilefilter-crypto/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<dependency>
3434
<groupId>org.bouncycastle</groupId>
3535
<artifactId>bcpkix-jdk15to18</artifactId>
36-
<version>1.78.1</version>
36+
<version>${bouncycastle.version}</version>
3737
</dependency>
3838
<dependency>
3939
<groupId>com.tencent.polaris</groupId>

pom.xml

+1
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@
109109
<okhttp.version>2.7.5</okhttp.version>
110110
<httpclient.version>4.5.14</httpclient.version>
111111
<jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version>
112+
<bouncycastle.version>1.78.1</bouncycastle.version>
112113
</properties>
113114

114115
<dependencies>

0 commit comments

Comments
 (0)