-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathproject.clj
48 lines (33 loc) · 2.02 KB
/
project.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
(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" "https://repository.cloudera.com/content/groups/cdh-releases-rcs"}
:deploy-repositories [["clojars" {:url "https://clojars.org/repo/"
: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`)
[org.apache.hadoop/hadoop-common "2.8.1" ; hdfs -- 3.0.0 is there, but doesn'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"])]]])