Fork me on GitHub
#leiningen
<
2020-03-20
>
mbarillier17:03:13

I added maven-shade-plugin to my project.clj in :pom-plugins and lein pom generates what appears to be the correct config for the plugin (based on the apache docs), but when I run mvn package the generated .jar doesn't contain any of the files from my project, just the .class files from the dependencies. doesn't mvn package on the generated pom compile the .clj/.cljc/.cljs files?

mikerod18:03:19

@mbarillier maven doesn’t know to compile clojure.

mikerod18:03:56

If you want/need to use maven there is a maven clojure plug-in. Or you could compile with lein and include it in your maven paths if that’s something you had reason to do