Repository navigation
ci: Maven Central publishing and CI/CD pipeline - #121
Merged
Merged
Conversation
Configure the project for Maven Central publishing via Sonatype Central Portal with automated CI/CD: - Add release profile with maven-source, javadoc, gpg, and central-publishing plugins - Create CI workflow (JDK 11 + 21 matrix) for PRs and pushes to main - Create release workflow triggered by version tags (v*.*.*) - Update version from 0.1.0-SNAPSHOT to 1.0.0-SNAPSHOT - Add developer organization metadata for Central compliance - Skip javadoc/gpg for integration-tests module in release profile Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
On Linux, Java's WatchService fires both ENTRY_CREATE and ENTRY_MODIFY for a single Files.write(), causing the test to see 2 events instead of the expected 1. Assert non-empty instead of exact count, since the duplicate event is an OS-level implementation detail. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Same duplicate-event issue as DirectoryWatcherTest — on Linux, Java's WatchService fires both ENTRY_CREATE and ENTRY_MODIFY for a single Files.write(). Assert non-empty instead of exact count. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
releaseMaven profile with source, javadoc, GPG signing, and Sonatype Central Publishing plugins for Maven Central complianceci.yml) with JDK 11 + 21 matrix on PRs and pushes to mainrelease.yml) triggered byv*.*.*tags — builds, signs, deploys to Maven Central, and auto-bumps to next SNAPSHOT0.1.0-SNAPSHOTto1.0.0-SNAPSHOTacross all modulesorganization/organizationUrlmetadata required by Sonatype Central Portaljsf-autoreload-integration-teststo skip javadoc and GPG signing in release profilePrerequisites before first release
The following GitHub Actions secrets must be configured manually:
GPG_PRIVATE_KEY— Base64-encoded GPG private keyGPG_PASSPHRASE— GPG key passphraseCENTRAL_USERNAME— Sonatype Central Portal username tokenCENTRAL_PASSWORD— Sonatype Central Portal password tokenRELEASE_TOKEN— GitHub PAT with push access to main (for SNAPSHOT bump commit)Test plan
mvn -B -P release verify -DskipTestsproduces sources JAR, javadoc JAR, and.ascfiles for each publishable modulev1.0.0tag to test the full release pipelineCloses #110
Closes #111
Closes #112
Closes #113
Closes #114
Closes #115
Closes #116
Closes #117
Closes #118
Closes #119
Closes #120
🤖 Generated with Claude Code