Skip to content

Conversation

@staticlibs
Copy link
Collaborator

This is a backport of the PR #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:

<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 #421 for details.

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.
@staticlibs staticlibs merged commit cd7ebba into duckdb:v1.4-andium Nov 10, 2025
@staticlibs staticlibs deleted the maven_nolib_14 branch November 10, 2025 15:00
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