如何在Nexus

时间:2017-02-09 19:23:14

标签: nexus artifactory

我可以使用Artifactory加密密码访问Artifactory maven存储库,例如:{DESede} encryptedPassword 当我在maven settings.xml中使用此密码时,它可以正常工作。

但是当我使用此密码作为HTTP身份验证将此存储库添加到Nexus作为代理存储库时,我收到错误:无法验证构面; 1失败

在日志中我看到:

Caused by: java.lang.ArrayIndexOutOfBoundsException: null
    at java.lang.System.arraycopy(Native Method)
    at org.sonatype.nexus.crypto.internal.PasswordCipher.decrypt(PasswordCipher.java:100)
    at org.sonatype.nexus.crypto.internal.MavenCipherImpl.doDecrypt(MavenCipherImpl.java:69)

我觉得Nexus无法加密或解密包含花括号等字符的密码。

是否可以为Nexus配置一个神器“加密密码”受保护的存储库?

0 个答案:

没有答案
相关问题