technomancy/leiningen — pull request #652 by Moocar (2012-06-19 03:16:36+00:00)
Title: added support for deploy-uberjar plugin

One of my use cases is to deploy uberjars rather than jars. [lein-deploy-uberjar](https://github.com/utahstreetlabs/lein-deploy-uberjar) already supports this but is only lein1 compatible and relies on using maven directly rather than using lein's deploy and uberjar tasks.

This branch puts the implementation of deploy into a new function that also supports an uberjar flag, allowing a plugin to call the implementation function directly, whilst keeping the public deploy task function simple.

Essentially, my plugin will call (deploy project repository-name :uberjar true).

Note, I would also welcome deploy-uberjar as a native lein task, but understand if it wouldn't be popular enough.

Cheers