Conversation
| <!-- 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> |
There was a problem hiding this comment.
This means the maven command waits until the publish is complete?
| @@ -580,17 +580,20 @@ | |||
| <id>release</id> | |||
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Correct: the instructions in the readme still apply in the same way. No changes there.
|
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 |
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