Maven arch-specific and nolib artifacts (1.4)#458
Merged
staticlibs merged 1 commit intoduckdb:v1.4-andiumfrom Nov 10, 2025
Merged
Maven arch-specific and nolib artifacts (1.4)#458staticlibs merged 1 commit intoduckdb:v1.4-andiumfrom
staticlibs merged 1 commit intoduckdb:v1.4-andiumfrom
Conversation
This is a backport of the PR duckdb#447 to `v1.4-andium` stable branch. This change makes the following arch-specific artifacts to be deployed to Maven Central (in addition to the main `duckdb_jdbc-x.x.x.x.jar` that remains unchanged), classifiers: - `linux_amd64` - `linux_amd64_musl` - `linux_arm64` - `linux_arm64_musl` - `macos_universal` - `windows_amd64` - `windows_arm64` Each arch-specific artifact contains a native library only for this particular platform and can be specified in Maven dependencies with the following syntax: ```xml <dependency> <groupId>org.duckdb</groupId> <artifactId>duckdb_jdbc</artifactId> <version>1.x.x.x</version> <classifier>linux_amd64_musl</classifier> </dependency> ``` Note that Windows and Linux-musl AArch64 artifacts are renamed from `aarch64` to `arm64` to align with wider DuckDB arch naming. Additionally an artifact without any native library is deployed with a `nolib` classifier. It is intended to be used with an externally provided native library, see duckdb#421 for details.
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.
This is a backport of the PR #447 to
v1.4-andiumstable branch.This change makes the following arch-specific artifacts to be deployed to Maven Central (in addition to the main
duckdb_jdbc-x.x.x.x.jarthat remains unchanged), classifiers:linux_amd64linux_amd64_musllinux_arm64linux_arm64_muslmacos_universalwindows_amd64windows_arm64Each arch-specific artifact contains a native library only for this
particular platform and can be specified in Maven dependencies with the
following syntax:
Note that Windows and Linux-musl AArch64 artifacts are renamed from
aarch64toarm64to align with wider DuckDB arch naming.Additionally an artifact without any native library is deployed with a
nolibclassifier. It is intended to be used with an externally provided native library, see #421 for details.