I did:
lein conjure plugin install simple-authentication
Got a lot of errors like:
Caused by: java.lang.RuntimeException: java.lang.RuntimeException:
java.io.FileNotFoundException: Could not locate conjure/core/util/
file_utils__init.class or conjure/core/util/file_utils.clj on
classpath: (plugin.clj:1)
at clojure.lang.LazySeq.sval(LazySeq.java:47)
at clojure.lang.LazySeq.seq(LazySeq.java:63)
at clojure.lang.RT.seq(RT.java:450)
at clojure.core$seq.invoke(core.clj:122)
at clojure.core$map$fn__3695.invoke(core.clj:2088)
at clojure.lang.LazySeq.sval(LazySeq.java:42)
This was probably caused by an outdated require for
conjure.core.util.file-utils. The fix was probably this:
https://github.com/macourtney/simple_authentication/commit/d2f9ff3adee26ddee0fb75f52f02b44d43c6dc1f
In any case to get around this you can do the following:
Get the simple_authentication code from
https://github.com/macourtney/simple_authentication
Run:
lein deps
lein jar
Then:
mvn install:install-file -DgroupId=simple-authentication -
DartifactId=simple-authentication -Dversion=1.1.0RC -Dpackaging=jar -
Dfile=simple-authentication-1.1.0-RC1.jar
In the project.clj in your clojure project change this:
(defproject nippontech "0.0.1-SNAPSHOT"
:description "foo"
:dependencies [ [ org.clojure/clojure "1.2.0" ]
[ org.clojure/clojure-contrib "1.2.0" ]
[ conjure-core "0.8.0" ]
;[ clojure-tools "1.0.0" ]
[ simple-authentication "1.0.0" ] ]
:dev-dependencies [ [ lein-conjure "0.8.0" ] ])
To:
(defproject nippontech "0.0.1-SNAPSHOT"
:description "Nippontech"
:dependencies [ [ org.clojure/clojure "1.2.0" ]
[ org.clojure/clojure-contrib "1.2.0" ]
[ conjure-core "0.8.0" ]
;[ clojure-tools "1.0.0" ]
[ simple-authentication "1.1.0RC" ] ]
:dev-dependencies [ [ lein-conjure "0.8.0" ] ])
Matt, please correct me if something in my post.