feat: zstd-platform as an empty convenience jar#9
Merged
Conversation
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>
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.
What
zstd-platformbecomes an ordinary (empty) jar instead of apomaggregator — a single normal dependency that transitively pulls the bindings plus all six native libraries. Lazy one-liner for clients; no<type>pom</type>needed.pom→jar. Carries no sources of its own; the empty main jar plus empty-sources/-javadocjars attach via the parent'smaven-jar-pluginexecutions, so it stays Maven-Central-ready.dependencyManagement: drop<type>pom</type>.<type>pom</type>from the usage snippets.Dependencies unchanged (zstd + the six
zstd-native-*), so existing consumers keep working — they just no longer need thepomtype.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