This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-01-27
Channels
- # announcements (10)
- # aws (11)
- # beginners (158)
- # calva (8)
- # cider (14)
- # clj-kondo (1)
- # cljsrn (1)
- # clojure (83)
- # clojure-europe (5)
- # clojure-italy (25)
- # clojure-nl (3)
- # clojure-spec (12)
- # clojure-uk (20)
- # clojurescript (72)
- # community-development (18)
- # core-async (4)
- # core-logic (19)
- # cursive (11)
- # datomic (21)
- # duct (6)
- # events (1)
- # figwheel-main (3)
- # fulcro (15)
- # ghostwheel (1)
- # jobs (1)
- # leiningen (16)
- # off-topic (45)
- # onyx (3)
- # pathom (7)
- # perun (1)
- # ring (3)
- # shadow-cljs (48)
- # spacemacs (10)
- # specter (1)
- # sql (24)
- # tools-deps (7)
- # vscode (7)
- # xtdb (14)
what exactly does :extension "pom"
mean in a dep? I'm sure this is terminology borrowed from maven but the terms used are so overloaded the google hits are hard to sort through
it means it is a Maven project described by a pom.xml
(not a deps.edn)
oh sorry, wrong channel, so scratch that :)
oh - this is from a leiningen project :D
haha, np
you can create pom-only projects in Maven that just pull in deps but don't build themselves, and I believe that's what this means
OK, so that resolves the problem, definitely not appropriate for this dep, thanks
basically it would be an artifact without a jar
there are so many meanings for "extension" including multiple in the context of maven, and the overlap of "pom" with extension applies to at least two meanings - the results in google were just noise
@noisesmith in a lein
dependency the :extension
does refer to the <type>
in a maven dep http://maven.apache.org/pom.html#Dependencies
can be seen in pomegranate
by this name though https://github.com/clj-commons/pomegranate/blob/pomegranate-1.1.0/src/main/clojure/cemerick/pomegranate/aether.clj#L219 (which is what lein
is using)
Looks like it’s just carry over from the terminology used within the aether
lib itself.
eg. See https://maven.apache.org/resolver/apidocs/org/eclipse/aether/artifact/DefaultArtifact.html
that’s somewhat unfortunate since official Maven docs refer to it as <type>
however, “type” would be at least as bad, probably a lot worse, to search than “extension” even - so no solution there.
🔥