0

如果我输入:

mvn -f clojure-maven-nrepl.pom.xml clojure:nrepl

我得到:

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Required goal not found: clojure:nrepl in com.theoryinpractise:clojure-maven-plugin:1.3.13
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Mon Feb 25 14:07:04 GMT 2013
[INFO] Final Memory: 3M/15M
[INFO] -----------------------------------------------

哪里clojure-maven-nrepl.pom.xml是:

<project>

  <modelVersion>4.0.0</modelVersion>
  <groupId>com.aspden</groupId>
  <artifactId>clojure-maven-nrepl</artifactId>
  <version>1.0-SNAPSHOT</version>
  <name>clojure-maven-nreple</name>
  <description>maven, clojure, emacs, nrepl: simplest useful maven project</description>

  <packaging>clojure</packaging>

  <dependencies>
    <dependency>
      <groupId>org.clojure</groupId>
      <artifactId>clojure</artifactId>
      <version>1.4.0</version>
    </dependency>
    <dependency>
      <groupId>org.clojure</groupId>
      <artifactId>tools.nrepl</artifactId>
      <version>0.2.1</version>
    </dependency>
  </dependencies>

  <build>
    <plugins>
      <plugin>
    <groupId>com.theoryinpractise</groupId>
    <artifactId>clojure-maven-plugin</artifactId>
    <version>1.3.13</version>
        <extensions>true</extensions>
      </plugin>
    </plugins>
  </build>

</project>

我应该改变什么才能让它工作?

4

1 回答 1

1

clojure:nrepl 在 1.3.13 中不可用,您需要 1.3.14-SNAPSHOT,您需要手动编译和安装。

于 2013-02-25T21:09:53.850 回答