From a0b6df677324e7c7489cef57885c30545ed8fae2 Mon Sep 17 00:00:00 2001
From: Martin Goik <goik@hdm-stuttgart.de>
Date: Thu, 7 May 2015 17:06:12 +0200
Subject: [PATCH] Adding global log4j dependency

---
 P/Sd1/Console_sum/pom.xml |  4 ++--
 P/Sd1/plot/pom.xml        | 15 ---------------
 pom.xml                   | 10 ++++++++++
 3 files changed, 12 insertions(+), 17 deletions(-)

diff --git a/P/Sd1/Console_sum/pom.xml b/P/Sd1/Console_sum/pom.xml
index 8f6f82501..ce6843e53 100644
--- a/P/Sd1/Console_sum/pom.xml
+++ b/P/Sd1/Console_sum/pom.xml
@@ -11,11 +11,11 @@
   </parent>
 
   <groupId>de.hdm-stuttgart.mi.sd1</groupId>
-  <artifactId>largestproductingrid</artifactId>
+  <artifactId>console_sum</artifactId>
   <version>0.9</version>
   <packaging>jar</packaging>
   
-  <name>largestproductingrid</name>
+  <name>console_sum</name>
 
   <url>http://www.mi.hdm-stuttgart.de/freedocs</url>
 
diff --git a/P/Sd1/plot/pom.xml b/P/Sd1/plot/pom.xml
index 50cd09f80..0ce09af49 100644
--- a/P/Sd1/plot/pom.xml
+++ b/P/Sd1/plot/pom.xml
@@ -18,21 +18,6 @@
 
   <url>http://www.mi.hdm-stuttgart.de/freedocs</url>
 
-  <dependencies>
-
-    <dependency>
-      <groupId>org.apache.logging.log4j</groupId>
-      <artifactId>log4j-api</artifactId>
-      <version>2.1</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.logging.log4j</groupId>
-      <artifactId>log4j-core</artifactId>
-      <version>2.1</version>
-    </dependency>
-
-  </dependencies>
-
   <build> 
   <plugins>
     <plugin>
diff --git a/pom.xml b/pom.xml
index c3f5b4b1b..4f618eac0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -72,6 +72,16 @@
       <version>4.12</version>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>org.apache.logging.log4j</groupId>
+      <artifactId>log4j-api</artifactId>
+      <version>2.1</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.logging.log4j</groupId>
+      <artifactId>log4j-core</artifactId>
+      <version>2.1</version>
+    </dependency>
   </dependencies>
 
 </project>
-- 
GitLab