I want to create a number of uberjars with different main
entrypoints from a single codebase. I see you can specify the main
namespace as an argument to lein uberjar
but I don't see a way to specify the resulting filename or path, so they'll just overwrite one another. Is there a way to override the output filename or path from the command line?
Or is there a better way of doing this? Have separate project files that all reference a central "library" project? If so, what would the physical structure of this look like and how to get it to build?
:uberjar-name
option. Looks like:name
has to be set in the profile instead in order to produce different named jar files. – Ocher