Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Switch to sign-maven-plugin #5

Closed
Mechite opened this issue Aug 5, 2023 · 1 comment
Closed

[Enhancement] Switch to sign-maven-plugin #5

Mechite opened this issue Aug 5, 2023 · 1 comment

Comments

@Mechite
Copy link

Mechite commented Aug 5, 2023

sign-maven-plugin allows users on all platforms to build the project agnostically. It works the same as maven-gpg-plugin and will allow you to deploy the way you are doing so already.

This will also create the following diff for the README (after #1):

- 56   # Building
- 57   When building on a Windows platform (or anywhere where GPG is not installed, *nix systems tend to bundle GPG), you should pass the `-Dgpg.skip` argument to Maven (`mvnd clean install -Dgpg.skip`).
@Mechite
Copy link
Author

Mechite commented Aug 5, 2023

Another note - Since GnuPG release 2.1.12, the default mode is –allow-loopback-pinentry, so you no longer need the following code (if you wish not to move to sign-maven-plugin and instead want to stay using maven-gpg-plugin):

- <arg>--pinentry-mode</arg>
- <arg>loopback</arg>

@Mechite Mechite closed this as completed Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant