talios / clojure-maven-plugin

Apache Maven Mojo for compiling clojure scripts to class files
252 stars 74 forks source link

Default test script fails under Clojure 1.3 #39

Open duck1123 opened 13 years ago

duck1123 commented 13 years ago

Using c-m-p 1.3.8 with Clojure 1.3-beta1 and the default test script fails with the error:

Exception in thread "main" java.lang.IllegalStateException: Can't dynamically bind non-dynamic var: clojure.test.junit/junit-report
        at clojure.lang.Var.pushThreadBindings(Var.java:339)
        at clojure.core$push_thread_bindings.invoke(core.clj:1716)
        at com.theoryinpractise.clojure.testrunner$eval10503.invoke(run-test7765525700945248109.clj:46)
        at clojure.lang.Compiler.eval(Compiler.java:6406)
        at clojure.lang.Compiler.load(Compiler.java:6843)
        at clojure.lang.Compiler.loadFile(Compiler.java:6804)
        at clojure.main$load_script.invoke(main.clj:282)
        at clojure.main$script_opt.invoke(main.clj:342)
        at clojure.main$main.doInvoke(main.clj:426)
        at clojure.lang.RestFn.invoke(RestFn.java:408)
        at clojure.lang.Var.invoke(Var.java:401)  
        at clojure.lang.AFn.applyToHelper(AFn.java:161)
        at clojure.lang.Var.applyTo(Var.java:518) 
        at clojure.main.main(main.java:37)
duck1123 commented 13 years ago

This issue does not exist with 1.3.7