Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.6:sign (sign-artifacts)
最后更新:2024-05-23 14:51:32
|
状态:未完成
出现以下异常,应该是因为profiles选中了central,因为central是发布到中央库其中配置了maven-gpg-plugin所以需要签名,
如果只是本地install不需要签名,选anyline或其如果你本地maven配置文件中配置了其他的profiles也可以,一个不选也可以。
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.6:sign (sign-artifacts) on project anyline-dependency: Exit code: 2 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
如果只是本地install不需要签名,选anyline或其如果你本地maven配置文件中配置了其他的profiles也可以,一个不选也可以。
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.6:sign (sign-artifacts) on project anyline-dependency: Exit code: 2 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles: