Skip to content

Add JReleaser plugin and publication profile for 1.x#276

Merged
vpaturet merged 1 commit into1.xfrom
fix-jreleaser-1x
Mar 6, 2026
Merged

Add JReleaser plugin and publication profile for 1.x#276
vpaturet merged 1 commit into1.xfrom
fix-jreleaser-1x

Conversation

@vpaturet
Copy link
Contributor

@vpaturet vpaturet commented Mar 6, 2026

Summary

Fixes the Maven Central release workflow failure on 1.x by adding missing pom.xml configuration:

  • JReleaser plugin: Added jreleaser-maven-plugin (v1.23.0) in pluginManagement with signing and deployment config, and in plugins section
  • publication profile: Stages deploy artifacts (javadoc + source JARs) to target/staging-deploy for JReleaser to publish

Without these, the jreleaser plugin prefix is not found and the publication profile does not exist.

Test plan

  • CI build passes on 1.x
  • Snapshot publish step succeeds (uses maven-jreleaser-release.yml)

The JReleaser-based release workflows require:
- jreleaser-maven-plugin in pluginManagement and plugins
- publication profile for staging deploy with javadoc and source JARs

Backported from master to enable Maven Central publishing on 1.x.
@vpaturet vpaturet merged commit ff24e41 into 1.x Mar 6, 2026
2 checks passed
@vpaturet vpaturet deleted the fix-jreleaser-1x branch March 6, 2026 08:28
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.

1 participant