Add Maven Central publishing configuration#462
Open
keyboardDrummer wants to merge 1 commit into
Open
Conversation
Configure the four consumer-facing modules (library, common, javac-plugin, verifier) for publication to Maven Central via the Sonatype Central Portal. - Set the published group id to io.github.strata-org, verified through the strata-org GitHub org (no domain ownership required). Java package names remain org.strata.jverify.* - Scope publishing to library, common, javac-plugin and verifier. common is included because javac-plugin and verifier depend on it; omitting it would leave their POMs referencing a coordinate absent from Central. - Add the POM metadata, sources jar, javadoc jar and GPG signing that Central requires. Signing is skipped for SNAPSHOT builds. - Make the version a -Pversion property (default 0.1.0-SNAPSHOT) so releases use a real, non-SNAPSHOT version. Central rejects SNAPSHOTs. - Add publishToStaging and centralBundle tasks that stage all modules and zip them into the bundle the Central Portal upload API expects. - Update sample-project and guide coordinates to the new group id and 0.1.0 version line. - Document the end-to-end release process in docs/PUBLISHING.md.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Configure the four consumer-facing modules (library, common, javac-plugin,
verifier) for publication to Maven Central via the Sonatype Central Portal.
strata-org GitHub org (no domain ownership required). Java package names
remain org.strata.jverify.*
included because javac-plugin and verifier depend on it; omitting it would
leave their POMs referencing a coordinate absent from Central.
requires. Signing is skipped for SNAPSHOT builds.
use a real, non-SNAPSHOT version. Central rejects SNAPSHOTs.
them into the bundle the Central Portal upload API expects.
version line.