GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add gpg-plugin-version 3.2.7-SNAPSHOT to build pipeline by ralfkonrad · Pull Request #30 · ralfkonrad/test-mvn-gpg-plugin

This repository was archived by the owner on Oct 4, 2024. It is now read-only.

Conversation

@ralfkonrad

@ralfkonrad ralfkonrad commented Sep 24, 2024

Copy link
Copy Markdown
Owner

No description provided.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
ralfkonrad added 5 commits September 24, 2024 11:30
@ralfkonrad
Add gpg-plugin-version 3.2.7-SNAPSHOT to build pipeline
62ec5c6
@ralfkonrad
Add pluginRepository
29e9cb8
@ralfkonrad
Disable maven-enforcer-plugin
f3fd5b6
@ralfkonrad
Enable scheduled workflow run
892ccfb
@ralfkonrad
Allow SNAPSHOT plugins
fe82db0
@cstamas

cstamas commented Sep 24, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

As expected, as 3.2.7 w/o passphraseLf config behaves exactly as previous 3.2.x releases. So maybe 3.2.7 needs to change defaults to passphraseLf=true (as non-Windows OS are not affected anyway).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@cstamas

cstamas commented Sep 24, 2024

Copy link
Copy Markdown

Updating PR and will deploy new SNAP that by def handles this. Stay tuned, as PR will needs to be triggered to pull new SNAPSHOT

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

ralfkonrad added 2 commits September 24, 2024 11:57
@ralfkonrad
Set maven-gpg-plugin.passphraseLf in pipeline
3018c91
@ralfkonrad
<passphraseLf> was in the wrong place
f4ebf34
@cstamas

cstamas commented Sep 24, 2024

Copy link
Copy Markdown

Pushed changes to PR apache/maven-gpg-plugin#120 (today's commit, no extra config will be needed anymore as explained in PR comment).

Will ping here once I deployed new snapshot to ASF snapshots.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

ralfkonrad added 2 commits September 24, 2024 12:03
@ralfkonrad
Merge remote-tracking branch 'origin/master' into add_gpg-plugin-vers…
794efa8
…ion_3.2.7-SNAPSHOT
@ralfkonrad
Update workflow name
f44a406
@cstamas

cstamas commented Sep 24, 2024

Copy link
Copy Markdown

Deployed new snapshot version 3.2.7-20240924.100708-4 does does not need any extra config to make it work on Windows.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ralfkonrad

ralfkonrad commented Sep 24, 2024

Copy link
Copy Markdown
Owner Author

Will ping here once I deployed new snapshot to ASF snapshots.

Sure!

Don't know if this helps but I have included gpg-plugin-passphraseLf into the workflow matrix.

Also, after this workflow is merged, it will run scheduled in the night!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@cstamas

cstamas commented Sep 24, 2024

Copy link
Copy Markdown

Nice! The goal is to not "distinguish" OS, so GPG plugin should be able sign by default without extra quirks for Windows (like passphraseLf config is). Moreover, Michael proposed to rename this new parameter, please chime in:
apache/maven-gpg-plugin#120

ralfkonrad reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@cstamas

cstamas commented Sep 24, 2024

Copy link
Copy Markdown

With latest snapshot, from matrix following bit should be removed:

        gpg-plugin-passphraseLf:
          - "true"
          - "false"

(and related config and so on), the plugin should "just work" as expected without any extra config. Plus, in latest snapshot the config passphraseLf will be renamed to terminatePassphrase and will be defaulted to true.

ralfkonrad reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

ralfkonrad added 2 commits September 24, 2024 13:30
@ralfkonrad
Remove usage of passphraseLf, it should work without it
e2e1cba
@ralfkonrad
Disabling failing gpg plugin build
3e53774
@ralfkonrad

ralfkonrad commented Sep 24, 2024

Copy link
Copy Markdown
Owner Author

Now, it fails again. Have I missed something here?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ralfkonrad
Set <updatePolicy>always</updatePolicy>
f25220e
@ralfkonrad

ralfkonrad commented Sep 24, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Owner Author

We had <updatePolicy>daily</updatePolicy> for the SNAPSHOT. Therefore, the latest version was not used as the actions/setup-java@v4 uses caching.

Now, it is working again. 🚀

cstamas reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Sep 24, 2024
Mgpg 136 #28
Closed
[MGPG-136] Try the new PR #27
Closed
@ralfkonrad
ralfkonrad merged commit da434f5 into master Sep 24, 2024
@ralfkonrad

ralfkonrad commented Sep 24, 2024

Copy link
Copy Markdown
Owner Author

@cstamas: I have merged this one. Let me know if we should try something else.

But for me it looks like you have solved the problem. 👏

Thanks for your effort, appreciated!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ralfkonrad
ralfkonrad deleted the add_gpg-plugin-version_3.2.7-SNAPSHOT branch September 24, 2024 12:05
@ralfkonrad ralfkonrad mentioned this pull request Sep 24, 2024
GPG-Signing of maven artifacts fails on Windows runners with actions/setup-java@v4 and maven-gpg-plugin version range [3.2.0, 3.2.7) actions/setup-java#629
Closed
2 of 5 tasks
@cstamas cstamas mentioned this pull request Sep 24, 2024
Please try with snapshot #26
Closed
@v-aparnajyothi-y v-aparnajyothi-y mentioned this pull request Sep 27, 2024
Action is not compatible with latest versions of maven-gpg-plugin actions/setup-java#668
Closed
2 of 5 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@ralfkonrad @cstamas
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.