Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

josemduarte
Copy link
Contributor

OSSRH reached end of life on June 30, 2025.

This uses the new maven central plugin as per recommendations : https://central.sonatype.org/pages/ossrh-eol/#publishing-to-central-portal

@josemduarte josemduarte requested a review from heuermh July 18, 2025 15:21
<!-- With true it publishes automatically -->
<autoPublish>true</autoPublish>
<!-- NOTE this is to wait for the new release to be validated and publicly available. Not essential but nice that when build is done, we know the artifacts are available publicly -->
<waitUntil>published</waitUntil>
Copy link
Member

Choose a reason for hiding this comment

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

This means the maven command waits until the publish is complete?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Correct.

@@ -580,17 +580,20 @@
<id>release</id>
Copy link
Member

@heuermh heuermh Jul 31, 2025

Choose a reason for hiding this comment

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

I note this plugin is only included for the release profile. What does the maven command for the release look like?

E.g. from the readme

For developers
Release biojava to maven central:

mvn -Prelease release:prepare
mvn -Prelease release:perform

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Correct: the instructions in the readme still apply in the same way. No changes there.

@heuermh
Copy link
Member

heuermh commented Jul 31, 2025

Thanks for the mention!

I have been trying to figure this out for a bunch of other projects, including biojava-legacy. I think because we were already using nexus-staging-maven-plugin in this project, the change here is more straightforward.

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