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
was one influence on the choice of the name "Clojure" :) (0 hits)
@noisesmith in a lein
dependency the :extension
does refer to the <type>
in a maven dep http://maven.apache.org/pom.html#Dependencies
not sure why the name differs, looking for history on that one
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.
🔥
thanks for the deep diive, yeah the naming is unfortunate all around