override lein magic & generate deps that work in the Java ecosystem

The ^:replace may not be lein-idiomatic, I added it based on discussion at https://github.com/technomancy/leiningen/issues/1569