Why is only the first source directory passed to https://clojure.github.io/tools.build/clojure.tools.build.api.html#var-write-pom's src-dirs "considered" and why are the rest "skipped". Eg if you pass ["src/clj" "src/cljc"] you get "skipping paths: sr/cljc" as a result of the code https://github.com/clojure/tools.deps.alpha/blob/f7a3493a7ffa32386eefd94f118be6ddb61c138b/src/main/clojure/clojure/tools/deps/alpha/gen/pom.clj#L87:
(when path
(when (seq paths) (apply printerrln "Skipping paths:" paths)) <--- skipping
[::pom/build (gen-source-dir path)])
Maven only supports one
So i don't need to do anything here right? Is the src-dir just used to build a name to give to the pom? I thought it was collecting information from those directories.
That message is just when it's building the pom that can go in the jar, so probably not important to you