talios/clojure-maven-plugin — pull request #56 by dlebrero (2012-08-19 14:07:57+00:00)
Title: Support for midje facts wrapped with deftest 

as explained in https://github.com/marick/Midje/wiki/Lein-test

Midje uses other :type different from :fail and :error (like :mock-expected-result-failure) to report failures. This means that the maven-clojure-plugin is reporting a success when a Midje test fails.

Instead of looking for :fail or :error, use the :summary report which contains the right number of errors and failure. This is what the "lein test" task does.