在我的CI(Gitlab)中,我使用Docker中的Maven来执行工件的构建,并在
阿基瓦
栓剂。
archiva resposistory使用由
莱斯特加密
.
我可以成功地将工件部署到
阿基瓦
用:
mvn clean package -B deploy -Djavax.net.ssl.trustStore=/tmp/mavenKeystore
我将密钥库作为CLI参数传递:一切正常。
但是有了发布插件,
trustStore
忽略参数:
mvn release:clean release:prepare -B release:perform -DscmCommentPrefix='[ci skip]' -Djavax.net.ssl.trustStore=/tmp/mavenKeystore
通过这个命令,我得到了ssl错误:
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target