Short answer: No. Clojure is only a jar, and you can use it as "raw" as you like, like any other Java library.
Longer answer: Maven is not a requirement, but the tool around Clojure, especially Leiningen, is very aligned with Maven, so your life will be easier if you simply obey Maven. But, with a little work, it's not so difficult to do without Maven. At work, I use a combination of Leiningen and our existing Ant / Ivy build infrastructure. I use Ant to resolve dependencies (from our curated internal repo), and then use Leiningen :resource-paths hack to get it to pick up banks other than Maven. At some point, I will make a real plugin to do this, but it has worked for me so far.
In addition, if you are an Eclipse person and use CounterClockwise, you can treat your project like any other Java project in Eclipse by manually managing the class route. It just happens that you have Clojure code.
Of course, the disadvantage of both approaches is that if you want to capture something that is accessible either from the Maven central center or from Clojars, you will either have to configure a mirror for your infrastructure, or manually derive transitive dependencies and add them to your project .
Dave ray
source share