Skip to content

feat: zstd-platform as an empty convenience jar#9

Merged
dfa1 merged 1 commit into
mainfrom
feat/zstd-platform-empty-jar
Jun 26, 2026
Merged

feat: zstd-platform as an empty convenience jar#9
dfa1 merged 1 commit into
mainfrom
feat/zstd-platform-empty-jar

Conversation

@dfa1

@dfa1 dfa1 commented Jun 26, 2026

Copy link
Copy Markdown
Owner

What

zstd-platform becomes an ordinary (empty) jar instead of a pom aggregator — a single normal dependency that transitively pulls the bindings plus all six native libraries. Lazy one-liner for clients; no <type>pom</type> needed.

  • zstd-platform: packaging pomjar. Carries no sources of its own; the empty main jar plus empty -sources/-javadoc jars attach via the parent's maven-jar-plugin executions, so it stays Maven-Central-ready.
  • parent + bom dependencyManagement: drop <type>pom</type>.
  • README + tutorial: drop <type>pom</type> from the usage snippets.

Dependencies unchanged (zstd + the six zstd-native-*), so existing consumers keep working — they just no longer need the pom type.

Test

./mvnw -pl zstd-platform,bom -am install — green; zstd-platform-*.jar (+ sources/javadoc) build and install. (Benign "JAR will be empty" warning is expected for a deps-only artifact.)

🤖 Generated with Claude Code

Change zstd-platform from pom to jar packaging: an ordinary (empty) jar
artifact that transitively pulls the bindings plus all six native
libraries. Clients add a single normal dependency — no <type>pom</type>.

- zstd-platform: packaging pom -> jar (empty/sources/javadoc jars attach
  via the parent's maven-jar-plugin executions, Central-ready)
- parent + bom dependencyManagement: drop <type>pom</type>
- README + tutorial: drop <type>pom</type> from the usage snippets

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@dfa1 dfa1 merged commit ba5593a into main Jun 26, 2026
1 check passed
@dfa1 dfa1 deleted the feat/zstd-platform-empty-jar branch June 26, 2026 16:10
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