From 2988296537e10faa70299173b5a8d33646cb7198 Mon Sep 17 00:00:00 2001 From: u209936 Date: Wed, 9 Nov 2016 23:00:30 +0100 Subject: [PATCH 1/2] Added support for Maven (& gitignore for IntelliJ directory) --- .gitignore | 2 ++ pom.xml | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 pom.xml diff --git a/.gitignore b/.gitignore index 93d8045..a927168 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,5 @@ /Interactive /.DS_Store /.gradle +/.idea +/target \ No newline at end of file diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..dca8a51 --- /dev/null +++ b/pom.xml @@ -0,0 +1,59 @@ + + + 4.0.0 + + org.noroomattheinn + tesla-client + 1.1-SNAPSHOT + + Tesla Rest API Client + + + UTF-8 + 1.8 + 1.8 + + + + src + + + + + org.apache.commons + commons-lang3 + 3.3.2 + + + commons-codec + commons-codec + 1.10 + + + org.apache.commons + commons-io + 1.3.2 + + + commons-logging + commons-logging + 1.1.3 + + + com.google.code.gson + gson + 2.2.4 + + + us.monoid.web + resty + 0.3.2 + + + com.google.code.geocoder-java + geocoder-java + 0.15 + + + \ No newline at end of file From d17a5554e69df7e12daf2ae22556ebf9f7602d32 Mon Sep 17 00:00:00 2001 From: u209936 Date: Mon, 14 Nov 2016 22:20:47 +0100 Subject: [PATCH 2/2] Create uberjar so all dependencies are packaged into the resulting jar file --- pom.xml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/pom.xml b/pom.xml index dca8a51..109e9b0 100644 --- a/pom.xml +++ b/pom.xml @@ -17,6 +17,26 @@ src + + + + org.apache.maven.plugins + maven-shade-plugin + 2.4.3 + + + package + + shade + + + ${project.build.directory}/${project.artifactId}-${project.version}.uber.jar + + + + + + @@ -56,4 +76,5 @@ 0.15 + \ No newline at end of file