Skip to content

Fix CLI module to publish unclassified fat JAR#996

Merged
JPercival merged 1 commit intomainfrom
fix-cli-jar-publication
Apr 7, 2026
Merged

Fix CLI module to publish unclassified fat JAR#996
JPercival merged 1 commit intomainfrom
fix-cli-jar-publication

Conversation

@JPercival
Copy link
Copy Markdown
Contributor

Summary

  • Since 4.4.1 (the Gradle migration), the CLI module only published a -plain thin JAR to Maven Central. The unclassified fat JAR that consumers expect was missing.
  • Disables the jar task and wires bootJar into the vanniktech maven publication so the fat JAR is published as the primary unclassified artifact, matching the pre-4.4.1 layout.
  • Already applied to release-4.5.1 for a 4.5.2 patch release.

Test plan

  • publishToMavenLocal produces unclassified fat JAR (~206MB), -javadoc, -sources — matches Maven-era artifact names
  • :cqf-fhir-cr-cli:build passes

🤖 Generated with Claude Code

Since migrating to Gradle, the vanniktech maven-publish plugin published
only the thin "-plain" JAR for cqf-fhir-cr-cli. Disable the plain jar
task and explicitly wire bootJar into the publication so the fat JAR is
published as the unclassified primary artifact, matching the Maven-era
layout.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 7, 2026

Formatting check succeeded!

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 7, 2026

@JPercival JPercival merged commit 2e79a41 into main Apr 7, 2026
8 of 9 checks passed
@JPercival JPercival deleted the fix-cli-jar-publication branch April 7, 2026 19:52
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