From d3390a9ca71eb19fad4c3c5901b64c433b6ab2ec Mon Sep 17 00:00:00 2001 From: Xuanwo Date: Thu, 8 Oct 2026 14:46:52 +0800 Subject: [PATCH] build(java): resolve Lance preview dependencies from R2 (#4476) Lance beta and RC artifacts are moving to `https://maven.lance.org`. Add that release repository to the Java parent POM so LanceDB can resolve explicit preview versions from it, while keeping Maven Central available for historical releases and other dependencies. Validated resolution of `org.lance:lance-core:14.0.0-beta.3` from a fresh Maven cache using the actual `lancedb-core` POM. Maven recorded the new `lance` repository as the source of both the POM and JAR. The pinned Lance version and LanceDB's own publishing workflow are unchanged. --- java/README.md | 5 +++++ java/pom.xml | 10 ++++++++++ 2 files changed, 15 insertions(+) diff --git a/java/README.md b/java/README.md index bfee16268..4abe5f50e 100644 --- a/java/README.md +++ b/java/README.md @@ -73,6 +73,11 @@ reader usually expects: ## Development +The parent POM includes `https://maven.lance.org` to resolve Lance beta and RC +dependencies. Use an explicit `lance-core.version`; numbered beta and RC versions +are Maven releases, not snapshots. Maven Central remains available for stable +and historical versions, as well as other dependencies. + Build: ```shell diff --git a/java/pom.xml b/java/pom.xml index a0ab50787..eb6d76c86 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -95,6 +95,16 @@ + + + lance + https://maven.lance.org + + false + + + + ossrh