Skip to content

A release publishes the classes as a jar, with no WAR - #599

Merged
namedgraph merged 1 commit into
developfrom
fix/release-jar
Dec 4, 2026
Merged

namedgraph merged 1 commit into
developfrom
fix/release-jar

Conversation

@namedgraph

Copy link
Copy Markdown
Member

Why

The 6.7.0 release was refused by Maven Central: "your organization has reached its monthly release size limit" (limits enforced since 2026-10-01, see https://central.sonatype.org/publish/maven-central-publishing-limits/). Each release was about 47 MB, 44 MB of it the WAR, against a free-tier limit of about 78 MB a month. Without the WAR a release is about 3.6 MB.

Nothing downloads the WAR from Central to run LinkedDataHub: the Docker image builds the webapp from source (-Pstandalone).

What

  • release profile: packaging.type jar, and the package-war execution disabled. Left on, the war goal replaces the project's main artifact file with the WAR whatever the packaging, so Central would still have received it.
  • attachClasses removed: the main artifact is now the classes jar.
  • CHANGELOG: a Changed entry, and a Migration entry for Maven consumers.

The default standalone build is unchanged apart from the -classes jar no longer being attached.

Consumers

A project that depends on com.atomgraph:linkeddatahub with <classifier>classes</classifier> drops the classifier when it moves to 6.7.0 (LinkedDataHub-Cloud, OpsGraph, AutoGraph). Homepage overlays the WAR and moves to the image; a separate PR there.

The jar no longer carries copies of 45 Web-Client classes and resources that the 6.6.0 -classes jar did; they come from the client:6.1.3:classes dependency, which the pom passes on.

Tested

mvn -Prelease clean verify -DskipTests: main jar (770 KB), sources, javadoc and pom, each signed; no WAR in target/. Not tested: the Central upload itself, which happens only in release.sh.

🤖 Generated with Claude Code

Maven Central limits each organization's monthly release size, and the
44 MB WAR was most of every release: 6.7.0 was refused as over the limit.
The release profile packages a jar and skips the war goal, which would
otherwise replace the main artifact with the WAR. The -classes jar goes
too, since the main artifact is now the classes. The Docker image builds
its own webapp from source and is unaffected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@namedgraph
namedgraph merged commit 03ae592 into develop Dec 4, 2026
7 checks passed
@namedgraph
namedgraph deleted the fix/release-jar branch December 4, 2026 13:39
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