Building Custom Impala Driver for Metabase v0.52.6: Dependency Resolution Failures (ImpalaJDBC42, metabase-core)

Hello everyone,

I’m trying to build a custom driver that targets Metabase 0.52.6, but I’m hitting a roadblock: Leiningen can’t find the metabase-core:0.52.6 artifact in the usual public repositories. Here’s a summary of my situation.

Environment Details

  • Metabase Version: 0.52.6
  • Java Version: 21.0.2 (Also tested with JDK 11)
  • OS: Windows 11
  • Driver Module: Cloudera Impala

I’m trying to build a custom Impala driver for Metabase v0.52.6, but dependency resolution fails for:

  1. org.cloudera.impala:ImpalaJDBC42:2.6.35: Not found in Maven Central/Clojars.
  2. metabase-core:0.52.6: Not found in public repositories.

Error:
Could not find artifact org.cloudera.impala:ImpalaJDBC42:jar:2.6.35 in central
Could not find artifact metabase-core:metabase-core:jar:0.52.6 in clojars

Steps Taken

git clone https://github.com/metabase/metabase.git
cd metabase && git checkout v0.56.0

Installed ImpalaJDBC42 Manually :

mvn install:install-file -Dfile=ImpalaJDBC42.jar -DgroupId=org.cloudera.impala -DartifactId=ImpalaJDBC42 -Dversion=2.6.35 -Dpackaging=jar

Built metabase-core Locally :

# In Metabase root directory  
lein clean && lein deps && lein install

Project.clj :

(defproject metabase.driver.impala "1.0.0"  
  :dependencies [  
    [org.cloudera.impala/ImpalaJDBC42 "2.6.35"]  
    [org.clojure/clojure "1.10.3"]  
    [org.clojure/tools.macro "0.1.5"]  
    [metabase-core "0.52.6"]  
  ]  
  :profiles {:uberjar {:aot :all}})

Full error during lein uberjar:

Could not find artifact org.cloudera.impala:ImpalaJDBC42:jar:2.6.35 in central (Central Repository:)
Could not find artifact org.cloudera.impala:ImpalaJDBC42:jar:2.6.35 in clojars (https://repo.clojars.org/)
Could not find artifact metabase-core:metabase-core:jar:0.52.6 in central (Central Repository:)
Could not find artifact metabase-core:metabase-core:jar:0.52.6 in clojars (https://repo.clojars.org/)
This could be due to a typo in :dependencies, file system permissions, or network issues.
If you are behind a proxy, try setting the 'http_proxy' environment variable.
Uberjar aborting because jar failed: Could not resolve dependencies

I just try to trace the issue with GPT guidance and

How can I properly resolve this issue a get the compiled jar file?

I’d appreciate any guidance from folks who’ve done this before.