(defproject uio/uio "1.1"
  :description "uio is a Clojure/Java library for accessing HDFS, S3, SFTP and other file systems via a single API."

  :repositories {"cloudera" "-releases-rcs"}

  :deploy-repositories [["clojars" {:url           "/"
                                    :sign-releases false}]]

  :dependencies [[org.clojure/clojure "1.8.0"]

                 [com.amazonaws/aws-java-sdk-s3 "1.11.261"] ; s3
                 [com.amazonaws/aws-java-sdk-sts "1.11.261"] ; s3 with roles
                 [org.apache.httpcomponents/httpclient "4.5.4"] ; (needed by `aws-java-sdk-s3`)

                 [com.jcraft/jsch "0.1.54"]                 ; sftp
                 [com.jcraft/jzlib "1.1.3"]                 ; (needed by `jsch`)

  hdfs -- 3.0.0 is there , but does n't have HTTPS repo
                  :exclusions [org.apache.httpcomponents/httpcore]] ; conflicts with `aws-java-sdk-s3`
                 [org.apache.hadoop/hadoop-hdfs "2.8.1"]

                 [org.apache.commons/commons-compress "1.15"] ; bzip2, xz
                 [org.tukaani/xz "1.8"]                     ; xz (needed by `commons-compress`)

                 [org.clojure/tools.cli "0.3.5"]]           ; main

  TODO not working . Find a way to exclude .java files from JARs , but have 1 source dir for Java / Clojure
  ;:jar-exclusions [#".*\.java"]

  :java-source-paths ["src"]
  :javac-options ["-source" "1.8"
                  "-target" "1.8"]

  :profiles {:dev {:dependencies [[midje "1.8.3"]]
                   :plugins      [[lein-midje "3.2.1"]]}}

  :aot [uio.main.main]
  :main uio.main.main

  :uberjar-name "uio.jar"
  :bin {:name "uio"}

  :plugins [[lein-bin "0.3.4"]]

  A trick to prevent IntelliJ from resetting compiler / module version to " 1.5 "
  :pom-plugins [[org.apache.maven.plugins/maven-compiler-plugin "3.6.1"
                 [:configuration ([:source "1.8"]
                                   [:target "1.8"])]]])

 s3
 s3 with roles
 (needed by `aws-java-sdk-s3`)
 sftp
 (needed by `jsch`)
 conflicts with `aws-java-sdk-s3`
 bzip2, xz
 xz (needed by `commons-compress`)
 main
:jar-exclusions [#".*\.java"]
(defproject uio/uio "1.1"
  :description "uio is a Clojure/Java library for accessing HDFS, S3, SFTP and other file systems via a single API."

  :repositories {"cloudera" "-releases-rcs"}

  :deploy-repositories [["clojars" {:url           "/"
                                    :sign-releases false}]]

  :dependencies [[org.clojure/clojure "1.8.0"]



  hdfs -- 3.0.0 is there , but does n't have HTTPS repo
                 [org.apache.hadoop/hadoop-hdfs "2.8.1"]



  TODO not working . Find a way to exclude .java files from JARs , but have 1 source dir for Java / Clojure

  :java-source-paths ["src"]
  :javac-options ["-source" "1.8"
                  "-target" "1.8"]

  :profiles {:dev {:dependencies [[midje "1.8.3"]]
                   :plugins      [[lein-midje "3.2.1"]]}}

  :aot [uio.main.main]
  :main uio.main.main

  :uberjar-name "uio.jar"
  :bin {:name "uio"}

  :plugins [[lein-bin "0.3.4"]]

  A trick to prevent IntelliJ from resetting compiler / module version to " 1.5 "
  :pom-plugins [[org.apache.maven.plugins/maven-compiler-plugin "3.6.1"
                 [:configuration ([:source "1.8"]
                                   [:target "1.8"])]]])
