This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
I'm trying to use clojure.tools.deps to include a maven dependency with a definition like:
<dependency>
<groupId>io.envoyproxy.controlplane</groupId>
<artifactId>java-control-plane</artifactId>
<version>0.1.32</version>
<type>pom</type>
</dependency>
That <type>pom</type>
is tripping me up. Is there a way to reference this type of dependency in deps.edn
? (https://search.maven.org/artifact/io.envoyproxy.controlplane/java-control-plane/0.1.32/pom for a direct link)Looks like the answer is :extension "pom"
clj -Sdeps '{:deps {io.envoyproxy.controlplane/java-control-plane {:mvn/version "0.1.32", :extension "pom"}}}'
Looks like what I really wanted was one of the modules in that pom: io.envoyproxy.controlplane/api {:mvn/version "0.1.32"}
I think the pom
type is what's called a BOM -- Bill of Materials -- and that's not supported by t.d.a. yet so you have to explicitly include the specific dependencies from the BOM directly.
Makes sense. I really only want that module anyway. Circuitous way to find it, but I did.
1
confirming what Sean said - BOM / pom deps not supported