Clojure China

How to use Maven to compile Clojure?

#1

I can’t input Chinese because I use Fedora ($_$)
I could’t download leiningen so I only can use Maven
Who can tell me how to use it?

#2

Try Boot first http://boot-clj.com I don’t think it will be simple to use Maven.

#3

http://dev.clojure.org/display/doc/Getting+Started+with+Maven ,你可以看看。
lein和boot脚本安装多数人会遇到网络问题,网络阻碍人们接触clojure。不知国内是否有镜像,类似ruby那样?

#4

maven构建可以参考这个:https://github.com/apache/storm/tree/master/examples/storm-starter

lein更好用点:
lein离线也比较简单,下个jar包跟lein脚本就好了。我现在也是离线安装的。
离线安装请参考我的github:

#5

Oh,no.Compilng stop in this!~

#6

rpm?
I use Fedora!

#7

lein跟emacs
上面有下载编译过程的,不依耐于系统。

#8

Please see my Github. I have prepared an archetype for people want to use maven to code Clojure. I like to use Maven to do Java coding, that’s why I integrate them in ahead. You can use this archetype to do some basic thing.
But one very unfortunate thing is, Leiningen plugins can not be used under Maven project, so it is a bad choice to consider Maven as project builder of Clojure.

#9

Thank you!:smiley: