无法在 org.bouncycastle:bc-fips:jar:1.0.2.3 处收集依赖项
Failed to collect dependencies at org.bouncycastle:bc-fips:jar:1.0.2.3
我尝试使用 Jenkins 构建项目时遇到错误
> [ERROR] Failed to execute goal on project luwak-task-storage: Could not resolve dependencies for project
> com.trendmicro.luwak:luwak-task-storage:jar:3.0.0-SNAPSHOT: Failed to
> collect dependencies at org.bouncycastle:bc-fips:jar:1.0.2.3: Failed
> to read artifact descriptor for org.bouncycastle:bc-fips:jar:1.0.2.3:
> Could not transfer artifact org.bouncycastle:bc-fips:pom:1.0.2.3
> from/to central
> (https://nexus.trendmicro.com/nexus/repository/maven-central/):
> sun.security.validator.ValidatorException: PKIX path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to
> find valid certification path to requested target -> [Help 1]
我得到了一个叫做org.bouncycastle:bc-fips:pom:1.0.2.3的依赖,它是无法解析的库,但我不知道为什么。
我可以在本地成功构建我的项目,但是在使用 Jenkins 时,我得到了这个错误。
我已经阅读了一些主题,但其中 none 解决了我的问题。请帮忙
I got a dependency called org.bouncycastle:bc-fips:pom:1.0.2.3, it is
the library that cannot be resolved, but I don't know why?
因为您的服务器还没有那个 dependency/library 并且由于以下原因在获取那些所需的工件之前失败:
您的系统(Jenkins 服务器)无法从它尝试提取工件的位置验证服务器身份,因此无法建立适当的通信渠道。
如果您识别并信任目标服务器,那么您可以在 Jenkins 服务器上添加 CA 证书(很可能在 Jenkins 使用的 java 密钥库中)以验证握手过程。
我尝试使用 Jenkins 构建项目时遇到错误
> [ERROR] Failed to execute goal on project luwak-task-storage: Could not resolve dependencies for project
> com.trendmicro.luwak:luwak-task-storage:jar:3.0.0-SNAPSHOT: Failed to
> collect dependencies at org.bouncycastle:bc-fips:jar:1.0.2.3: Failed
> to read artifact descriptor for org.bouncycastle:bc-fips:jar:1.0.2.3:
> Could not transfer artifact org.bouncycastle:bc-fips:pom:1.0.2.3
> from/to central
> (https://nexus.trendmicro.com/nexus/repository/maven-central/):
> sun.security.validator.ValidatorException: PKIX path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to
> find valid certification path to requested target -> [Help 1]
我得到了一个叫做org.bouncycastle:bc-fips:pom:1.0.2.3的依赖,它是无法解析的库,但我不知道为什么。 我可以在本地成功构建我的项目,但是在使用 Jenkins 时,我得到了这个错误。 我已经阅读了一些主题,但其中 none 解决了我的问题。请帮忙
I got a dependency called org.bouncycastle:bc-fips:pom:1.0.2.3, it is the library that cannot be resolved, but I don't know why?
因为您的服务器还没有那个 dependency/library 并且由于以下原因在获取那些所需的工件之前失败:
您的系统(Jenkins 服务器)无法从它尝试提取工件的位置验证服务器身份,因此无法建立适当的通信渠道。
如果您识别并信任目标服务器,那么您可以在 Jenkins 服务器上添加 CA 证书(很可能在 Jenkins 使用的 java 密钥库中)以验证握手过程。