fix(tik): 恢复 Bouncy Castle 依赖并移除强制排除
Some checks failed
Build and Deploy / deploy (push) Has been cancelled

This commit is contained in:
2026-06-03 22:49:44 +08:00
parent 703cc2697e
commit b1750302c8
2 changed files with 6 additions and 43 deletions

View File

@@ -20,24 +20,16 @@
</properties>
<dependencies>
<!-- Bouncy CastleICE SDK 底层依赖,用于 API 请求签名 -->
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk18on</artifactId>
</dependency>
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>ice20201109</artifactId>
<version>2.3.0</version>
<exclusions>
<exclusion>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk15on</artifactId>
</exclusion>
<exclusion>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
</exclusion>
<exclusion>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk18on</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.mashape.unirest</groupId>
@@ -48,16 +40,6 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-core</artifactId>
<version>4.6.3</version>
<exclusions>
<exclusion>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
</exclusion>
<exclusion>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk18on</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.alibaba.nls</groupId>

View File

@@ -146,25 +146,6 @@
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring.boot.version}</version>
<configuration>
<!-- 从 fat JAR 中剔除 BouncyCastle签名 JAR 在嵌套加载时 JCE 验证失败 -->
<excludes>
<exclude>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk18on</artifactId>
</exclude>
<exclude>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk18on</artifactId>
</exclude>
<exclude>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
</exclude>
<exclude>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk15on</artifactId>
</exclude>
</excludes>
</configuration>
<executions>
<execution>