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

[MINOR] maven-gpg-plugin update to version 3.0.1 #1285

Merged
merged 1 commit into from Jul 1, 2021

Conversation

j143
Copy link
Contributor

@j143 j143 commented May 25, 2021

What happens with this plugin?

This plugin would only produce .asc files only.


How maven signs artifacts with checksums?

The following is about Maven Resolver (part of maven core)

because, the SHA-512 functionality has been added recently


Issues related to gpg-signing elsewhere:
j143#99

- With version 1.6, it is not possible to sign artifacts with SHA-256 or higher
using

  ```sh
  mvn -P'distribution' deploy -Daether.checksums.algorithms=SHA-256
  ```

- The signing with SHA512 functionality has been added in 2016 by
  https://issues.apache.org/jira/browse/MPOM-118

- More about the plugin:
  https://maven.apache.org/plugins/maven-gpg-plugin/plugin-info.html
@phaniarnab
Copy link
Contributor

Please wait till I verify that my setup works with this change. As the release is nearing, I'd be conservative about any change.

@j143 j143 changed the title [MINOR] maven-gpg-plugin update to version 3.0.1 [WIP][MINOR] maven-gpg-plugin update to version 3.0.1 May 26, 2021
@j143 j143 changed the title [WIP][MINOR] maven-gpg-plugin update to version 3.0.1 [MINOR] maven-gpg-plugin update to version 3.0.1 Jun 29, 2021
@j143
Copy link
Contributor Author

j143 commented Jun 29, 2021

@phaniarnab - shall we take this in?

@j143 j143 merged commit bfbc8fd into apache:master Jul 1, 2021
@j143 j143 deleted the upgrade-gpg-plugin branch July 1, 2021 07:08
ilovemesomeramen pushed a commit to ilovemesomeramen/systemds that referenced this pull request Jul 21, 2021
gpg plugin does not sign the artifacts but simply provides .asc file.

- More about the plugin:
  https://maven.apache.org/plugins/maven-gpg-plugin/plugin-info.html

---
Commentary:

Signing artifacts with SHA-256 or higher using maven resolver, which is
part of maven core, but not with maven-gpg-plugin. If you are unable
to sign the artifacts then upgrade to latest maven version.

  ```sh
  mvn -P'distribution' deploy -Daether.checksums.algorithms=SHA-256
  ```

- The signing with SHA512 functionality has been added in 2016 by
  https://issues.apache.org/jira/browse/MPOM-118
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants