From 4118ca8f934d454d73e537442e098a99c894dd8d Mon Sep 17 00:00:00 2001
From: Martin Goik <goik@hdm-stuttgart.de>
Date: Fri, 25 Sep 2015 09:14:07 +0200
Subject: [PATCH] Remofing remaining <parent> declarations for standalone
 examination projects

---
 Exam/Sd1/Diff/Diff/pom.xml             | 14 ++++++++++
 Exam/Sd1/Diff/DiffSolution/pom.xml     | 15 +++++++++++
 Exam/Sd1/IntMax/Solution/pom.xml       | 35 ++++++++++++++++++++-----
 Exam/Sd1/IntMax/Test/pom.xml           | 33 ++++++++++++++++++-----
 Exam/Sd1/MaxArrayDiff/Solution/pom.xml | 34 ++++++++++++++++++------
 Exam/Sd1/MaxArrayDiff/Test/pom.xml     | 36 ++++++++++++++++++++------
 Exam/Sd1/Vowel/Solution/pom.xml        | 32 ++++++++++++++++++-----
 Exam/Sd1/Vowel/Test/pom.xml            | 33 ++++++++++++++++++-----
 8 files changed, 188 insertions(+), 44 deletions(-)

diff --git a/Exam/Sd1/Diff/Diff/pom.xml b/Exam/Sd1/Diff/Diff/pom.xml
index 5760c042c..8156c42e2 100644
--- a/Exam/Sd1/Diff/Diff/pom.xml
+++ b/Exam/Sd1/Diff/Diff/pom.xml
@@ -9,6 +9,20 @@
 
   <name>Diff</name>
 
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>3.2</version>
+        <configuration>
+          <source>1.8</source>
+          <target>1.8</target>
+        </configuration>
+      </plugin>
+      
+    </plugins>
+  </build>
   <dependencies>
   
     <dependency>
diff --git a/Exam/Sd1/Diff/DiffSolution/pom.xml b/Exam/Sd1/Diff/DiffSolution/pom.xml
index f1443c6c0..2791378da 100644
--- a/Exam/Sd1/Diff/DiffSolution/pom.xml
+++ b/Exam/Sd1/Diff/DiffSolution/pom.xml
@@ -9,6 +9,21 @@
 
   <name>Diff</name>
 
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>3.2</version>
+        <configuration>
+          <source>1.8</source>
+          <target>1.8</target>
+        </configuration>
+      </plugin>
+      
+    </plugins>
+  </build>
+
   <dependencies>
   
     <dependency>
diff --git a/Exam/Sd1/IntMax/Solution/pom.xml b/Exam/Sd1/IntMax/Solution/pom.xml
index dd6aa0ee2..4dc3781de 100644
--- a/Exam/Sd1/IntMax/Solution/pom.xml
+++ b/Exam/Sd1/IntMax/Solution/pom.xml
@@ -2,18 +2,39 @@
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
   
-  <parent>
-    <groupId>de.hdm-stuttgart.mi</groupId>
-    <artifactId>lecturenotes-pom</artifactId>
-    <version>1.0</version>
-    <relativePath>../../../../P/pom.xml</relativePath>
-  </parent>
-
   <groupId>de.hdm_stuttgart.mi.sd1</groupId>
   <artifactId>intmax</artifactId>
   <version>2.0</version>
   <packaging>jar</packaging>
   
   <name>intmax</name>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>3.2</version>
+        <configuration>
+          <source>1.8</source>
+          <target>1.8</target>
+        </configuration>
+      </plugin>
+      
+    </plugins>
+  </build>
+
+  <dependencies>
   
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>4.12</version>
+      <scope>test</scope>
+    </dependency>
+
+  </dependencies>
+    
+
+
 </project>
diff --git a/Exam/Sd1/IntMax/Test/pom.xml b/Exam/Sd1/IntMax/Test/pom.xml
index 7ab61444b..369bc5df0 100644
--- a/Exam/Sd1/IntMax/Test/pom.xml
+++ b/Exam/Sd1/IntMax/Test/pom.xml
@@ -2,13 +2,6 @@
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
   
-  <parent>
-    <groupId>de.hdm-stuttgart.mi</groupId>
-    <artifactId>lecturenotes-pom</artifactId>
-    <version>1.0</version>
-    <relativePath>../../../../P/pom.xml</relativePath>
-  </parent>
-
   <groupId>de.hdm_stuttgart.mi.sd1</groupId>
   <artifactId>intmax</artifactId>
   <version>1.0</version>
@@ -16,4 +9,30 @@
   
   <name>intmax</name>
   
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>3.2</version>
+        <configuration>
+          <source>1.8</source>
+          <target>1.8</target>
+        </configuration>
+      </plugin>
+      
+    </plugins>
+  </build>
+
+
+  <dependencies>
+  
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>4.12</version>
+      <scope>test</scope>
+    </dependency>
+
+  </dependencies>
 </project>
diff --git a/Exam/Sd1/MaxArrayDiff/Solution/pom.xml b/Exam/Sd1/MaxArrayDiff/Solution/pom.xml
index 10ffec2f6..325bd24cb 100644
--- a/Exam/Sd1/MaxArrayDiff/Solution/pom.xml
+++ b/Exam/Sd1/MaxArrayDiff/Solution/pom.xml
@@ -2,18 +2,36 @@
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
 
-  <parent>
-    <groupId>de.hdm-stuttgart.mi</groupId>
-    <artifactId>lecturenotes-pom</artifactId>
-    <version>1.0</version>
-    <relativePath>../../../../P/pom.xml</relativePath>
-  </parent>
-
   <groupId>de.hdm-stuttgart.de.sd1</groupId>
   <artifactId>maxarraydiff</artifactId>
   <version>2.0</version>
   <packaging>jar</packaging>
 
-  <name>vowel</name>
+  <name>MaxArrayDiff</name>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>3.2</version>
+        <configuration>
+          <source>1.8</source>
+          <target>1.8</target>
+        </configuration>
+      </plugin>
+      
+    </plugins>
+  </build>
+
+  <dependencies>
+  
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>4.12</version>
+      <scope>test</scope>
+    </dependency>
+
+  </dependencies>
 
 </project>
diff --git a/Exam/Sd1/MaxArrayDiff/Test/pom.xml b/Exam/Sd1/MaxArrayDiff/Test/pom.xml
index 2c6634481..4b0704132 100644
--- a/Exam/Sd1/MaxArrayDiff/Test/pom.xml
+++ b/Exam/Sd1/MaxArrayDiff/Test/pom.xml
@@ -2,18 +2,38 @@
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
 
-  <parent>
-    <groupId>de.hdm-stuttgart.mi</groupId>
-    <artifactId>lecturenotes-pom</artifactId>
-    <version>1.0</version>
-    <relativePath>../../../../P/pom.xml</relativePath>
-  </parent>
-
   <groupId>de.hdm-stuttgart.de.sd1</groupId>
   <artifactId>maxarraydiff</artifactId>
   <version>1.0</version>
   <packaging>jar</packaging>
 
-  <name>vowel</name>
+  <name>MaxArrayDiff</name>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>3.2</version>
+        <configuration>
+          <source>1.8</source>
+          <target>1.8</target>
+        </configuration>
+      </plugin>
+      
+    </plugins>
+  </build>
+
+  <dependencies>
+  
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>4.12</version>
+      <scope>test</scope>
+    </dependency>
+
+  </dependencies>
+
 
 </project>
diff --git a/Exam/Sd1/Vowel/Solution/pom.xml b/Exam/Sd1/Vowel/Solution/pom.xml
index 8f4aaeb6b..797189c61 100644
--- a/Exam/Sd1/Vowel/Solution/pom.xml
+++ b/Exam/Sd1/Vowel/Solution/pom.xml
@@ -2,18 +2,36 @@
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
 
-  <parent>
-    <groupId>de.hdm-stuttgart.mi</groupId>
-    <artifactId>lecturenotes-pom</artifactId>
-    <version>1.0</version>
-    <relativePath>../../../../P/pom.xml</relativePath>
-  </parent>
-
   <groupId>de.hdm-stuttgart.de.sd1</groupId>
   <artifactId>vowel</artifactId>
   <version>2.0</version>
   <packaging>jar</packaging>
 
   <name>vowel</name>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>3.2</version>
+        <configuration>
+          <source>1.8</source>
+          <target>1.8</target>
+        </configuration>
+      </plugin>
+      
+    </plugins>
+  </build>
+
+  <dependencies>
+  
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>4.12</version>
+      <scope>test</scope>
+    </dependency>
+
+  </dependencies>
 
 </project>
diff --git a/Exam/Sd1/Vowel/Test/pom.xml b/Exam/Sd1/Vowel/Test/pom.xml
index 825a2bf2e..134acef45 100644
--- a/Exam/Sd1/Vowel/Test/pom.xml
+++ b/Exam/Sd1/Vowel/Test/pom.xml
@@ -2,13 +2,6 @@
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
 
-  <parent>
-    <groupId>de.hdm-stuttgart.mi</groupId>
-    <artifactId>lecturenotes-pom</artifactId>
-    <version>1.0</version>
-    <relativePath>../../../../P/pom.xml</relativePath>
-  </parent>
-
   <groupId>de.hdm-stuttgart.de.sd1</groupId>
   <artifactId>vowel</artifactId>
   <version>1.0</version>
@@ -16,4 +9,30 @@
 
   <name>vowel</name>
 
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>3.2</version>
+        <configuration>
+          <source>1.8</source>
+          <target>1.8</target>
+        </configuration>
+      </plugin>
+      
+    </plugins>
+  </build>
+
+  <dependencies>
+  
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>4.12</version>
+      <scope>test</scope>
+    </dependency>
+
+  </dependencies>
+
 </project>
-- 
GitLab