          "build project"
          []
          (comp
-          (dev-env)
-          (build-tests-jar)
-          (install :pom tests-artef-pom-loc)
-          (if (= "true" (System/getenv "BOOT_PUSH"))
-            (push :pom tests-artef-pom-loc)
-            identity)))
+           (dev-env)
+           (build-tests-jar)
+           (install :pom tests-artef-pom-loc)
+           (if (= "true" (System/getenv "BOOT_PUSH"))
+             (push :pom tests-artef-pom-loc)
+             identity)))
 
 (deftask server-repl
-  "start dev server repl"
-  []
-  (comp
-    (dev-env)
-    (dev-fixture-env)
-    (repl)))
+         "start dev server repl"
+         []
+         (comp
+           (dev-env)
+           (dev-fixture-env)
+           (repl)))

  [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

(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"
                :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"
