我想使用来自https://github.com/arohner/lein-test-out/或来自https://clojars.org/org.clojars.jaley/lein-test-out的 lein-test-out 插件
但是当我在 dev-dependecty 中使用 [lein-test-out "0.1.0"] 时,什么都没有,当我使用
:profiles {:dev { :dependencies [[junit/junit "4.10"] [lein/test-out "0.2.0"]] :plugins [[lein-test-out "0.2.0"]]
我得到了:leiningen.test-out 加载问题:在类路径上找不到 clojure/contrib/find_namespaces__init.class 或 clojure/contrib/find_namespaces.clj:
完整的项目.clj:
(defproject dataserver "0.1.0-SNAPSHOT"
:aot [#"a\.b\..*"]
:omit-source true
:warn-on-reflection true
:min-lein-version "2.0.0"
:source-paths ["src-clj"]
:resource-paths ["/home/storm/storm/conf/storm.yaml" "resources"]
:uberjar-name "b.jar"
:uberjar-exclusions [#"log4j.properties"]
:main a.b.repl
:ring {:handler a.b.topmanager.core/app}
:dependencies [[org.clojure/clojure "1.4.0"]
[org.clojure/data.json "0.1.3"]
[org.clojure/data.priority-map "0.0.1"]
[com.rabbitmq/amqp-client "2.8.4"]
[org.scribe/scribe "1.3.1"]
[http.async.client "0.4.5"]
[org.clojure/tools.logging "0.2.4"]
[clj-redis "0.0.12"]]
:profiles {:dev {
:dependencies [[storm "0.7.3" :exclusions [org.clojure/tools.loggin org.clojure/tools.cli compojure hiccup
ring/ring-jetty-adapter backtype/jzmq]]
[org.clojure/data.xml "0.0.6"]
[org.clojure/data.zip "0.1.1"]
[compojure "1.0.4"]
[ring/ring-jetty-adapter "1.1.1"]
[org.slf4j/slf4j-log4j12 "1.6.6"]
[junit/junit "4.10"]
[org.clojars.jaley/lein-test-out "0.1.1-SNAPSHOT"]]
:plugins [[lein-ring "0.6.7"]
[lein-test-out "0.1.1"]]
}}
:jvm-opts ["-Dfile.encoding=UTF-8"
"-Dstorm.jar=target/b.jar"]
:repl-options {:timeout 60000})