malcolmsparks/clj-logging-config — Issue #7: Remove swank-clojure dependency
Author: the-kenny
Created: 2011-12-27 14:45:18+00:00
State: open

It's bad style to add development-dependencies like swank-clojure directly. This breaks other people's projects when they use a different (probably newer) version of swank-clojure.

Leiningen provides two options for solving this: dev-dependencies and plugins.

dev-dependencies are like normal dependencies, but they're *only* included if you work on the project itself. If your project is included as a dependency in other projects, dev-dependencies are simply ignored. There *might* be something similar in maven.

plugins install "global" dependencies to some directory and adds them to every project leiningen manages. This enables you to install swank-clojure as a leiningen plugin and have it available on every project you work on without adding it to the dependency-list of every project.