替代GPG签名以发布JAR到Maven中央库

huangapple go评论76阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2020年8月12日 19:13:03
  • 转载请务必保留本文链接:https://go.coder-hub.com/63375320.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定