Fork me on GitHub

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

Alex Miller (Clojure team)19:01:39

it means it is a Maven project described by a pom.xml

Alex Miller (Clojure team)19:01:06

oh sorry, wrong channel, so scratch that :)


oh - this is from a leiningen project :D

Alex Miller (Clojure team)19:01:43

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

Alex Miller (Clojure team)19:01:52

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


not sure why the name differs, looking for history on that one


Looks like it’s just carry over from the terminology used within the aether lib itself. eg. See 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

👍 4