2

我需要执行一个mvn install. 据我所知,Leiningen(我已经拥有)是基于 Maven 构建的,所以也许我不需要单独安装 Maven - 或者我需要吗?

4

2 回答 2

5

Leiningen 使用pomegranate ,一个用于Eclipse Aether的 Clojure 包装器,一个用于处理工件存储库的库。由于需要访问存储库的产品更多,Aether 的功能从 Maven 分离到一个单独的项目中,并且 Maven 被更改为使用 Aether。

石榴具有安装功能

install
  "Install the jar-file kwarg using the pom-file kwarg and coordinates kwarg.

:coordinates - [group/name \"version\"]
:jar-file - a file pointing to the jar
:pom-file - a file pointing to the pom
:local-repo - path to the local repository (defaults to ~/.m2/repository)
:transfer-listener - same as provided to resolve-dependencies"
于 2012-08-08T13:08:41.913 回答
1

我相信有一个lein install任务。

于 2012-08-08T11:52:29.733 回答