 (def tests-artef-jar-name (str tests-artef-name "-" (get-env :version) "-tests.jar"))
 
 (deftask build-tests-jar
-  "build jar with test runtime dependencies for connectors."
-  []
-  (comp
-    (pom :project tests-artef-project-name :classifier "tests")
-    (sift
-      :to-resource #{#"lifecycle_test_utils\.clj"
-                     #"connector_test_utils\.clj"}
-
-      :include #{#"lifecycle_test_utils\.clj"
-                 #"connector_test_utils\.clj"
-                 #"pom.xml"
-                 #"pom.properties"})
-
-    (jar :file tests-artef-jar-name)))
+         "build jar with test runtime dependencies for connectors."
+         []
+         (comp
+           (pom :project tests-artef-project-name
+                :classifier "tests"
+                :dependencies (merge-defaults
+                                ['sixsq/default-deps (get-env :version)]
+                                [['org.apache.curator/curator-test :scope "compile"]]))
+           (sift
+             :to-resource #{#"lifecycle_test_utils\.clj"
+                            #"connector_test_utils\.clj"}
+
+             :include #{#"lifecycle_test_utils\.clj"
+                        #"connector_test_utils\.clj"
+                        #"pom.xml"
+                        #"pom.properties"})
+
+           (jar :file tests-artef-jar-name)))
 
 (deftask mvn-test
          "run all tests of project"

  [fileset fname]
  (try
    (-> (-> fileset
          (boot.core/tmp-get fname)
          boot.core/tmp-dir)
      (clojure.java.io/file fname)
      .getPath)
    (catch IllegalArgumentException e)))

(deftask set-version []
  (fn middleware [next-task]
    (fn handler [fileset]
     (let [f (get-file-path fileset "com/sixsq/slipstream/version.txt")]
       (spit f (get-env :version)))
     (next-task fileset))))

(deftask build []
         (comp

       :version (get-env :version)}
  test {:junit-output-to ""}
  install {:pom (str (get-env :project))}
  push {:pom  (str (get-env :project))
        :repo "sixsq"})

(deftask dev-env
