pom.xml中缺少的关键点(只是从clojure-contrib
pom.xml中偷偷抓取了)是clojure-maven-plugin下的执行:
<plugin> <groupId>com.theoryinpractise</groupId> <artifactId>clojure-maven-plugin</artifactId> <version>1.3.2</version> <!-- Current Config --> <executions> <!-- ... --> <execution> <id>test-clojure</id> <phase>test</phase> <goals> <goal>test</goal> </goals> </execution> </executions></plugin>
在以下位置可能还需要添加如下内容
<build/>:
<testResources> <testResource> <directory>src/test/clojure</directory> </testResource></testResources>



