Hi, I'm trying to use classifiers to create 3 artifacts with a single lein uberjar command (if that's even possible). The variations of the output files include 1) varying the version of a specific library and 2) whether to include BOTH source code folders or only a single one (there are two source code dirs)
• main uberjar - built with older library version and includes both source dirs
• latest uberjar - built with newer library version and includes both source dirs
• gcc jar - built with older library and includes ONLY the special gcc source dir, not both
I've read over the examples and been poking around with configs for quite a while. Is this possible? Does anyone have any good docs on how exactly these things get built with regards to classifiers and also how uberjars work?
Current problems/questions
1. Looks like when I run lein uberjar it builds 4 artifacts, it builds both the non-uberjars for the latest and gcc variants, and then both an uberjar and non-uberjar for the main variant which is not what I need
2. Do I need to run lein multiple times with different profiles to get what I need?
3. Why doesn't lein uberjar build all uberjars for all classified and unclassified artifacts? Does it always just build 1 and only 1 uberjar artifact?
Thank you in advance
Probably not the answer you want to hear, but if you're trying to bend Leiningen to do that kind of thing you'll probably have an easier path using clj and tools.build.