build(deps): 全局排除 BouncyCastle 依赖以解决 Spring Boot fat JAR 签名问题
Some checks failed
Build and Deploy / deploy (push) Has been cancelled

在 `yudao-dependencies/pom.xml` 中为所有 BouncyCastle 变体添加空壳版本(`0.0.0`)和 `provided` 作用域,从源头杜绝 JCE 签名校验失败。同时更新注释以更清晰地说明原因。同步排除 `yudao-module-ai` 中 `aliyun-java-sdk-core` 依赖和 `yudao-module-pay` 中 `weixin-java-pay` 依赖的 `bcprov-jdk18on`,确保所有模块不受影响。
This commit is contained in:
2026-05-26 22:48:27 +08:00
parent d5af885ce3
commit 5477e2f261
3 changed files with 40 additions and 1 deletions

View File

@@ -34,6 +34,16 @@
<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>