s4u / sign-maven-plugin

Maven plugin which creates Open PGP / GPG signatures for all of the project's artifacts
https://www.simplify4u.org/sign-maven-plugin/
Apache License 2.0
47 stars 7 forks source link

Retire plugin #195

Open slawekjaranowski opened 3 months ago

slawekjaranowski commented 3 months ago

As Apache Maven GPG Plugin supports now:

https://maven.apache.org/plugins/maven-gpg-plugin/examples/deploy-signed-artifacts.html#sign-using-bc-signer

I'm going to retire this plugin

Task to do:

mkarg commented 3 months ago

Farewell, sign plugin!

OTOH I thought your intention for starting this plugin was to get rid of a the need for a locally installed GPG. Does that mean that Maven GPG Plugin works without local GPG now? 🤔

slawekjaranowski commented 3 months ago

Farewell, sign plugin!

OTOH I thought your intention for starting this plugin was to get rid of a the need for a locally installed GPG. Does that mean that Maven GPG Plugin works without local GPG now? 🤔

Exactly it was an intention - signing without additional binary and better support builds on CI system

Now we have the same in gpg-plugin thanks to BC - Bouncy Castle Java library additional binary is not necessary. Also we have support for configuration keys by environments variables.

I will prepare some manual about migration.

So maintain next plugin with the same feature is not justified.

mkarg commented 3 months ago

So in fact it is not GPG plugin anymore, but BC plugin. ;-)

slawekjaranowski commented 3 months ago

So in fact it is not GPG plugin anymore, but BC plugin. ;-)

No. There is an option: https://maven.apache.org/plugins/maven-gpg-plugin/sign-mojo.html#signer

The name of the Signer implementation to use. Accepted values are "gpg" (the default, uses GnuPG executable) and "bc" (uses Bouncy Castle pure Java signer).