                  }
 
   :profiles {:dev      {:plugins      [
-                                       [lein-midje "3.1.3"]
+                                       ;; [lein-midje "3.1.3"]
                                        ]                    ;;[lein-amp "0.3.0"]]}
                         :source-paths ["src/clojure"]       ;; "dev"
                         :dependencies [
-                                       [org.alfresco/alfresco-repository ~alfresco-version :classifier "h2scripts"]
+                                       [org.alfresco/alfresco-repository ~alfresco-version
+                                        :classifier "h2scripts"
+                                        :exclusions [
+                                                     commons-codec
+                                                     ;; commons-fileupload
+                                                     ]]
+                                       ;; [spyscope "0.1.5"]
                                        [com.h2database/h2 ~h2-version]
-                                       [clj-http "2.1.0"]
+                                       [clj-http "2.1.0"
+                                        :exclusions [
+                                                     commons-codec
+                                                     ]
+                                        ]
                                        [org.eclipse.jetty/jetty-server ~jetty-version]
                                        [org.eclipse.jetty.websocket/websocket-server ~jetty-version]
-                                       [midje "1.8.3"]
+                                       ;; [midje "1.8.3"]
                                        [org.eclipse.jetty/jetty-webapp ~jetty-version]
                                        [org.eclipse.jetty/jetty-util ~jetty-version]
                                        ]}
              ;;             :uberjar  { :aot :all }
              :test     {:dependencies [
-                                       [org.alfresco/alfresco-repository ~alfresco-version :classifier "h2scripts"]
+                                       [org.alfresco/alfresco-repository ~alfresco-version
+                                        :classifier "h2scripts"
+                                        :exclusions [
+                                                     ;; commons-codec
+                                                     ;; commons-fileupload
+                                                     ]]
                                        [com.h2database/h2 ~h2-version]
                                        [clj-http "2.1.0"]
                                        [org.eclipse.jetty/jetty-server ~jetty-version]

  ;; Beware !!! refactor-nrepl middleware can kick off midje integration tests!
  :test-paths ["itest" "test"]                              ;; ["itest" "test"]

  :injections [(require 'spyscope.core)]
  ;; http://www.jayway.com/2014/09/09/integration-testing-setup-with-midje-and-leiningen/
  :aliases {"itest" ["midje" ":filters" "it"]               ;;"src/clojure" "test" "itest"
            "test"  ["midje"]

                 [org.clojure/clojure "1.8.0"]
                 [org.clojure/tools.nrepl "0.2.12"]
                 ;; [com.gfredericks/debug-repl "0.0.7"]
                 ;; [spyscope "0.1.5"]
                 [evalive "1.1.0"]
                 [org.clojure/java.classpath "0.2.3"]
                 [org.clojure/java.jmx "0.3.1"]
