英文:
Alternative for GPG signature to publish JAR in maven central
问题
我是新手,正在进行JAVA开发,并且正在努力将JAR文件发布到Maven中央库以供公开访问。在官方的maven页面中提到,必须使用GPG签名来签署这些工件,我想知道除了GPG签名之外,是否有其他替代软件来签署JAR文件,以便将其发布到Maven中央库?感谢您的帮助。
英文:
I am new to JAVA development and was working to publish the JAR in maven central for open access. It was mentioned in offical maven page that artifacts must be signed using GPG signature , i would like to know is there any other alternative software to sign the JAR so that it can be published in Maven central other than GPG signature? Will appreciate your help.
答案1
得分: 1
所有部署到Maven中央仓库的构件必须由PGP/GPG签名。
您可以使用插件https://www.simplify4u.org/sign-maven-plugin/,它不使用gpg
进行签名,因此您不必在使用您的项目的所有系统上安装gpg
。
使用和配置sign-maven-plugin
非常简单。
英文:
All artifacts deployed to Maven Central must be signed by PGP/GPP.
You can use plugin https://www.simplify4u.org/sign-maven-plugin/ which don't use gpg
for signing so you don't have to install gpg
on all systems which use your project.
Using and configuration of sign-maven-plugin
is very easy.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论