From 08d128a54b6d2ee835bcf737bab9dbb7e7913811 Mon Sep 17 00:00:00 2001
From: Mateusz Kopeć <m.kopec@ipipan.waw.pl>
Date: Wed, 15 Mar 2017 23:24:43 +0100
Subject: [PATCH] clean dependencies

---
 nicolas-cli/pom.xml          | 10 ++++++++++
 nicolas-lib/pom.xml          | 12 ++----------
 nicolas-multiservice/pom.xml |  6 ++++--
 nicolas-train/pom.xml        | 12 ++++++++++++
 pom.xml                      | 18 +++++++++++++++---
 5 files changed, 43 insertions(+), 15 deletions(-)

diff --git a/nicolas-cli/pom.xml b/nicolas-cli/pom.xml
index 21a84ab..c45426f 100644
--- a/nicolas-cli/pom.xml
+++ b/nicolas-cli/pom.xml
@@ -28,11 +28,21 @@
             <scope>runtime</scope>
         </dependency>
 
+        <!-- internal -->
+        <dependency>
+            <groupId>pl.waw.ipipan.zil.multiservice</groupId>
+            <artifactId>utils</artifactId>
+        </dependency>
+
         <!-- third party -->
         <dependency>
             <groupId>com.beust</groupId>
             <artifactId>jcommander</artifactId>
         </dependency>
+        <dependency>
+            <groupId>commons-io</groupId>
+            <artifactId>commons-io</artifactId>
+        </dependency>
 
         <!-- logging -->
         <dependency>
diff --git a/nicolas-lib/pom.xml b/nicolas-lib/pom.xml
index f7ea7e6..3604385 100644
--- a/nicolas-lib/pom.xml
+++ b/nicolas-lib/pom.xml
@@ -15,10 +15,6 @@
 
         <!-- internal -->
         <dependency>
-            <groupId>pl.waw.ipipan.zil.summ</groupId>
-            <artifactId>pscapi</artifactId>
-        </dependency>
-        <dependency>
             <groupId>pl.waw.ipipan.zil.multiservice</groupId>
             <artifactId>utils</artifactId>
         </dependency>
@@ -29,16 +25,12 @@
             <artifactId>weka-stable</artifactId>
         </dependency>
         <dependency>
-            <groupId>org.apache.commons</groupId>
-            <artifactId>commons-csv</artifactId>
-        </dependency>
-        <dependency>
             <groupId>commons-io</groupId>
             <artifactId>commons-io</artifactId>
         </dependency>
         <dependency>
-            <groupId>org.apache.commons</groupId>
-            <artifactId>commons-lang3</artifactId>
+            <groupId>com.google.guava</groupId>
+            <artifactId>guava</artifactId>
         </dependency>
 
         <!-- logging -->
diff --git a/nicolas-multiservice/pom.xml b/nicolas-multiservice/pom.xml
index a49a932..766af7b 100644
--- a/nicolas-multiservice/pom.xml
+++ b/nicolas-multiservice/pom.xml
@@ -17,9 +17,11 @@
             <groupId>pl.waw.ipipan.zil.multiservice</groupId>
             <artifactId>utils</artifactId>
         </dependency>
+
+        <!-- third party -->
         <dependency>
-            <groupId>pl.waw.ipipan.zil.summ</groupId>
-            <artifactId>pscapi</artifactId>
+            <groupId>org.apache.thrift</groupId>
+            <artifactId>libthrift</artifactId>
         </dependency>
 
         <!-- logging -->
diff --git a/nicolas-train/pom.xml b/nicolas-train/pom.xml
index 57e2072..3936b01 100644
--- a/nicolas-train/pom.xml
+++ b/nicolas-train/pom.xml
@@ -51,9 +51,21 @@
             <artifactId>commons-lang3</artifactId>
         </dependency>
         <dependency>
+            <groupId>org.apache.commons</groupId>
+            <artifactId>commons-csv</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>commons-io</groupId>
+            <artifactId>commons-io</artifactId>
+        </dependency>
+        <dependency>
             <groupId>net.lingala.zip4j</groupId>
             <artifactId>zip4j</artifactId>
         </dependency>
+        <dependency>
+            <groupId>com.google.guava</groupId>
+            <artifactId>guava</artifactId>
+        </dependency>
 
         <!-- logging -->
         <dependency>
diff --git a/pom.xml b/pom.xml
index f21f5f3..0d91777 100644
--- a/pom.xml
+++ b/pom.xml
@@ -32,11 +32,12 @@
         <weka-stable.version>3.8.1</weka-stable.version>
         <commons-lang3.version>3.5</commons-lang3.version>
         <commons-io.version>2.5</commons-io.version>
-        <slf4j-api.version>1.7.22</slf4j-api.version>
+        <slf4j-api.version>1.7.24</slf4j-api.version>
         <junit.version>4.12</junit.version>
         <zip4j.version>1.3.2</zip4j.version>
-        <mockito-core.version>2.7.1</mockito-core.version>
-        <jcommander.version>1.60</jcommander.version>
+        <mockito-core.version>2.7.17</mockito-core.version>
+        <jcommander.version>1.64</jcommander.version>
+        <libthrift.version>0.9.0</libthrift.version>
     </properties>
 
     <prerequisites>
@@ -140,6 +141,11 @@
                 <artifactId>jcommander</artifactId>
                 <version>${jcommander.version}</version>
             </dependency>
+            <dependency>
+                <groupId>org.apache.thrift</groupId>
+                <artifactId>libthrift</artifactId>
+                <version>${libthrift.version}</version>
+            </dependency>
 
             <!-- logging -->
             <dependency>
@@ -151,6 +157,7 @@
                 <groupId>org.slf4j</groupId>
                 <artifactId>slf4j-simple</artifactId>
                 <version>${slf4j-api.version}</version>
+                <scope>runtime</scope>
             </dependency>
 
             <!-- test -->
@@ -175,6 +182,11 @@
             <plugins>
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-dependency-plugin</artifactId>
+                    <version>3.0.0</version>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-jar-plugin</artifactId>
                     <version>3.0.2</version>
                 </plugin>
--
libgit2 0.22.2