Fork me on GitHub
#leiningen
<
2020-03-13
>
eval-on-point14:03:37

Can you configure lein to pull javadoc artifacts for Maven dependencies?

mikerod14:03:44

@mitchell_clojure I believe they are just stored via a classifier on the artifact coordinate. I’m not sure that this is a standard - I think just popular tooling in Maven. (could be wrong)

mikerod14:03:24

So something like [org.something/my-dep "1.0.0" :classifier "javadoc"]

mikerod14:03:12

meaning, I’d guess this plugin would be commonly used for packaging it https://maven.apache.org/plugins/maven-javadoc-plugin/jar-mojo.html

eval-on-point14:03:32

YES very powerful

eval-on-point14:03:37

worked like a charm!

mikerod14:03:53

so it looks like they are usually just stored as artifacts alongside the main one - but with a classifier

eval-on-point14:03:22

yeah the classifier argument was my blindspot

👍 4
Alex Miller (Clojure team)14:03:07

this is standard and leveraged by many ides (like cursive) to download docs

👍 8