Skip to content

Add a manually triggered Maven deploy workflow#1154

Merged
pkwarren merged 2 commits intomainfrom
pkw/add-maven-deploy-workflow
Aug 19, 2024
Merged

Add a manually triggered Maven deploy workflow#1154
pkwarren merged 2 commits intomainfrom
pkw/add-maven-deploy-workflow

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
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
@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