                                        [junit/junit ~junit-version-override]]}
              :provided {:dependencies [
                                        ;; [org.clojure/clojurescript "1.7.122"]
+                                       ;; We need to fiddle around with the deps so the clojure deps chain shows up
                                        [org.alfresco/alfresco-core ~alfresco-core-version
-                                        :exclusions [[commons-collections]]]
-                                       ;; override wrong dep from core causing RTE when starting up the context
-                                       [commons-collections "3.2.2"]
-                                       [org.alfresco/alfresco-data-model ~alfresco-version]
+                                        :exclusions [
+                                                     ;; commons-codec
+                                                     ;; joda-time
+                                                     ]]
+                                       [org.alfresco/alfresco-data-model ~alfresco-version
+                                        ;; :exclusions [org.apache.tika/tika-parsers]
+                                        ]
                                        [org.alfresco/alfresco-mbeans ~alfresco-version]
                                        [org.alfresco/alfresco-remote-api ~alfresco-version]
-                                       [org.alfresco/alfresco-repository ~alfresco-version]
+                                       [org.alfresco/alfresco-repository ~alfresco-version
+                                        :exclusions [commons-collections
+                                                     ;; commons-codec
+                                                     ;; joda-time
+                                                     ;; commons-fileupload
+                                                     ]]
 
                                        ;; You have to build the web-client yourself for now
                                        ;; "mvn -f pom-alfresco-web-client.xml install" in web-client/
                                        ;; [org.alfresco/alfresco-web-client                      ~alfresco-version]
                                        [org.springframework/spring-context ~spring-version]
                                        [org.springframework/spring-beans ~spring-version]
-                                       [org.springframework.extensions.surf/spring-webscripts ~spring-surf-version]
+                                       [org.springframework.extensions.surf/spring-webscripts ~spring-surf-version
+                                        :exclusions [
+                                                     ;; commons-fileupload
+                                                     ]]
+                                       ;; The deps alfresco really wants
+                                       ;; override wrong dep from core causing RTE when starting up the context
+
+                                       [commons-collections "3.2.2"]
+                                       ;;  Weeding out fileupload, joda, commons-io does not work - comes in via clj(!) deps
+                                       [commons-fileupload "1.3.1"]
+                                       [joda-time "2.8.1"]
+                                       [commons-io "2.4"]
+                                       [commons-codec "1.10"]
                                        [javax.websocket/javax.websocket-api ~websocket-version]
                                        [xml-apis/xml-apis ~xml-apis-version-override]]}
              }

                 [com.stuartsierra/component "0.3.1"]
                 ;; for gorilla websocket-relay
                 [cheshire "5.5.0"]
                 [compojure "1.4.0"]
                 [gorilla-repl ~gorilla-repl-version :exclusions [http-kit org.slf4j/slf4j-api
                                                                  javax.servlet/servlet-api
                                                                  grimradical/clj-semver

                 [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"]
