Skip to content

Add a manually triggered Maven deploy workflow #1154

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

Merged
merged 2 commits into from
Aug 19, 2024

Conversation

pkwarren
Copy link
Member

No description provided.

In order to test deployment, add a new workflow which can be triggered
manually to release to Maven central. Simplify configuration to use a
single server entry 'ossrh' instead of separate ones for snapshots vs.
releases. Update to the latest nexus-staging-maven-plugin.
@pkwarren pkwarren force-pushed the pkw/add-maven-deploy-workflow branch from 0cb3e4a to 5afb822 Compare August 19, 2024 18:52
@pkwarren pkwarren marked this pull request as ready for review August 19, 2024 18:52
@pkwarren pkwarren requested review from rodaine and rubensf August 19, 2024 18:52
@@ -55,7 +55,7 @@ jobs:
distribution: 'temurin'
java-version: '17'
cache: 'maven'
server-id: sonatype-nexus-snapshots
server-id: ossrh
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated config to better match https://central.sonatype.org/publish/publish-maven/ - not sure why we had two server entries w/ the same credentials.

required: true
deployArgs:
description: "Additional Maven deploy arguments (e.g. '--debug -DautoReleaseAfterClose=false')"
required: false
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Going to use this to see if I can get the Maven release working, then re-release 1.1.0.

@pkwarren pkwarren merged commit 6753535 into main Aug 19, 2024
4 checks passed
@pkwarren pkwarren deleted the pkw/add-maven-deploy-workflow branch August 19, 2024 19:08
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

Successfully merging this pull request may close these issues.

2 participants