From 091250cd11fff54604a1587d2785e5e5484b2862 Mon Sep 17 00:00:00 2001 From: "Dr. Martin Goik" <goik@hdm-stuttgart.de> Date: Wed, 6 Nov 2019 07:40:52 +0100 Subject: [PATCH] Maven exam streamlined pom.xml --- Klausuren/Sd1/2014winter/Exam/pom.xml | 156 ++++++++----- Klausuren/Sd1/2014winter/Solution/pom.xml | 141 +++++++++--- Klausuren/Sd1/2015summer/Exam/pom.xml | 150 ++++++++----- Klausuren/Sd1/2015summer/Solution/pom.xml | 152 ++++++++----- .../sw1/klausur/StringTransforms.java | 8 +- Klausuren/Sd1/2015winter/Exam/pom.xml | 150 ++++++++----- .../de/hdm_stuttgart/sw1/klausur/Helper.java | 2 +- Klausuren/Sd1/2015winter/Solution/pom.xml | 150 ++++++++----- .../de/hdm_stuttgart/sw1/klausur/Helper.java | 2 +- Klausuren/Sd1/2016summer/Exam/pom.xml | 169 +++++++------- Klausuren/Sd1/2016summer/Solution/pom.xml | 168 +++++++------- Klausuren/Sd1/2016winter/Exam/pom.xml | 167 +++++++------- Klausuren/Sd1/2016winter/Solution/pom.xml | 167 +++++++------- Klausuren/Sd1/2017summer/Exam/pom.xml | 209 +++++++++--------- Klausuren/Sd1/2017summer/Solve/pom.xml | 113 +++++++++- 15 files changed, 1180 insertions(+), 724 deletions(-) diff --git a/Klausuren/Sd1/2014winter/Exam/pom.xml b/Klausuren/Sd1/2014winter/Exam/pom.xml index 5b5975095..cebaa7525 100644 --- a/Klausuren/Sd1/2014winter/Exam/pom.xml +++ b/Klausuren/Sd1/2014winter/Exam/pom.xml @@ -1,53 +1,107 @@ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - 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> - - <groupId>de.hdm-stuttgart.sw1.klausur</groupId> - <artifactId>sw1_2014winter</artifactId> - <version>0.8</version> - <packaging>jar</packaging> - - <name>sw1_2014winter</name> - <url>https://freedocs.mi.hdm-stuttgart.de</url> - - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - </properties> - - <repositories> - <repository> - <id>hdm-mi-internal-maven-repo</id> - <url>https://maven.mi.hdm-stuttgart.de/artifacts</url> - </repository> - </repositories> - - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.5.1</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> - - <dependency> - <groupId>de.hdm_stuttgart.mi.exam</groupId> - <artifactId>unitmarking</artifactId> - <version>0.9</version> - </dependency> - - </dependencies> + 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> + + <groupId>de.hdm-stuttgart.sw1.klausur</groupId> + <artifactId>sw1_2014winter</artifactId> + <version>0.8</version> + <packaging>jar</packaging> + + <name>sw1_2014winter</name> + + <url>https://freedocs.mi.hdm-stuttgart.de/sd1_sect_mavenCli.html</url> + + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> + + <repositories> + <repository> + <id>hdm-mi-internal-maven-repo</id> + <url>https://maven.mi.hdm-stuttgart.de/nexus/repository/mi-maven</url> + </repository> + </repositories> + + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.12</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-core</artifactId> + <version>2.12.0</version> + </dependency> + + <dependency> + <groupId>de.hdm_stuttgart.mi.exam</groupId> + <artifactId>unitmarking</artifactId> + <version>1.0</version> + </dependency> + + </dependencies> + + <build> + <plugins> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.8.1</version> + <configuration> + <source>11</source> + <target>11</target> + </configuration> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.1.1</version> + <configuration> + <javaApiLinks> + <property> + <name>api_11</name> + <value>https://klausur.mi.hdm-stuttgart.de/doc/openjdk-11-doc/api/</value> + </property> + </javaApiLinks> + + <additionalJOptions> + <additionalJOption>-html5</additionalJOption> + </additionalJOptions> + <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> + </configuration> + </plugin> + + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <version>3.1.1</version> + + <configuration> + <descriptors> + <descriptor>src/main/assembly/assembly.xml</descriptor> + </descriptors> + </configuration> + <executions> + <execution> + <id>make-assembly</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <archive> + <manifest> + <mainClass>de.hdm_stuttgart.mi.sd1.test.ShowReachedPoints</mainClass> + </manifest> + </archive> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> </project> diff --git a/Klausuren/Sd1/2014winter/Solution/pom.xml b/Klausuren/Sd1/2014winter/Solution/pom.xml index 313e1595c..cf8c6cc52 100644 --- a/Klausuren/Sd1/2014winter/Solution/pom.xml +++ b/Klausuren/Sd1/2014winter/Solution/pom.xml @@ -1,38 +1,107 @@ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - 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> - - <groupId>de.hdm-stuttgart.sw1.klausur</groupId> - <artifactId>sw1klausur</artifactId> - <version>0.9</version> - <packaging>jar</packaging> - - <name>sw1klausur</name> - <url>http://maven.apache.org</url> - - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - </properties> - <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.11</version> - <scope>test</scope> - </dependency> - </dependencies> + 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> + + <groupId>de.hdm-stuttgart.sw1.klausur</groupId> + <artifactId>sw1_2014winter_solve</artifactId> + <version>0.9</version> + <packaging>jar</packaging> + + <name>sw1klausur_solve</name> + + <url>https://freedocs.mi.hdm-stuttgart.de/sd1_sect_mavenCli.html</url> + + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> + + <repositories> + <repository> + <id>hdm-mi-internal-maven-repo</id> + <url>https://maven.mi.hdm-stuttgart.de/nexus/repository/mi-maven</url> + </repository> + </repositories> + + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.12</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-core</artifactId> + <version>2.12.0</version> + </dependency> + + <dependency> + <groupId>de.hdm_stuttgart.mi.exam</groupId> + <artifactId>unitmarking</artifactId> + <version>1.0</version> + </dependency> + + </dependencies> + + <build> + <plugins> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.8.1</version> + <configuration> + <source>11</source> + <target>11</target> + </configuration> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.1.1</version> + <configuration> + <javaApiLinks> + <property> + <name>api_11</name> + <value>https://klausur.mi.hdm-stuttgart.de/doc/openjdk-11-doc/api/</value> + </property> + </javaApiLinks> + + <additionalJOptions> + <additionalJOption>-html5</additionalJOption> + </additionalJOptions> + <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> + </configuration> + </plugin> + + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <version>3.1.1</version> + + <configuration> + <descriptors> + <descriptor>src/main/assembly/assembly.xml</descriptor> + </descriptors> + </configuration> + <executions> + <execution> + <id>make-assembly</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <archive> + <manifest> + <mainClass>de.hdm_stuttgart.mi.sd1.test.ShowReachedPoints</mainClass> + </manifest> + </archive> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> </project> diff --git a/Klausuren/Sd1/2015summer/Exam/pom.xml b/Klausuren/Sd1/2015summer/Exam/pom.xml index 23d033c6c..d4ecb0245 100644 --- a/Klausuren/Sd1/2015summer/Exam/pom.xml +++ b/Klausuren/Sd1/2015summer/Exam/pom.xml @@ -1,65 +1,107 @@ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - 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> + 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> - <groupId>de.hdm-stuttgart.sw1.klausur</groupId> - <artifactId>sw1_2015sommer</artifactId> - <version>0.9</version> - <packaging>jar</packaging> + <groupId>de.hdm-stuttgart.sw1.klausur</groupId> + <artifactId>sw1_2015sommer</artifactId> + <version>0.9</version> + <packaging>jar</packaging> - <name>sw1_2015sommer</name> - <url>https://freedocs.mi.hdm-stuttgart.de</url> + <name>sw1_2015sommer</name> - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - </properties> + <url>https://freedocs.mi.hdm-stuttgart.de/sd1_sect_mavenCli.html</url> - <repositories> - <repository> - <id>hdm-mi-internal-maven-repo</id> - <url>https://maven.mi.hdm-stuttgart.de/artifacts</url> - </repository> - </repositories> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.5.1</version> - <configuration> - <source>1.8</source> - <target>1.8</target> - </configuration> - </plugin> - </plugins> - </build> + <repositories> + <repository> + <id>hdm-mi-internal-maven-repo</id> + <url>https://maven.mi.hdm-stuttgart.de/nexus/repository/mi-maven</url> + </repository> + </repositories> - <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> - </dependency> + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <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.12.0</version> + </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - <version>2.1</version> - </dependency> + <dependency> + <groupId>de.hdm_stuttgart.mi.exam</groupId> + <artifactId>unitmarking</artifactId> + <version>1.0</version> + </dependency> - <dependency> - <groupId>de.hdm_stuttgart.mi.exam</groupId> - <artifactId>unitmarking</artifactId> - <version>0.9</version> - </dependency> + </dependencies> - </dependencies> -</project> \ No newline at end of file + <build> + <plugins> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.8.1</version> + <configuration> + <source>11</source> + <target>11</target> + </configuration> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.1.1</version> + <configuration> + <javaApiLinks> + <property> + <name>api_11</name> + <value>https://klausur.mi.hdm-stuttgart.de/doc/openjdk-11-doc/api/</value> + </property> + </javaApiLinks> + + <additionalJOptions> + <additionalJOption>-html5</additionalJOption> + </additionalJOptions> + <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> + </configuration> + </plugin> + + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <version>3.1.1</version> + + <configuration> + <descriptors> + <descriptor>src/main/assembly/assembly.xml</descriptor> + </descriptors> + </configuration> + <executions> + <execution> + <id>make-assembly</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <archive> + <manifest> + <mainClass>de.hdm_stuttgart.mi.sd1.test.ShowReachedPoints</mainClass> + </manifest> + </archive> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> diff --git a/Klausuren/Sd1/2015summer/Solution/pom.xml b/Klausuren/Sd1/2015summer/Solution/pom.xml index 58f59e44c..7a862ec24 100644 --- a/Klausuren/Sd1/2015summer/Solution/pom.xml +++ b/Klausuren/Sd1/2015summer/Solution/pom.xml @@ -1,65 +1,107 @@ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - 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> + 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> - <groupId>de.hdm-stuttgart.sw1.klausur</groupId> - <artifactId>sw1_2015sommer_solve</artifactId> - <version>0.9</version> - <packaging>jar</packaging> + <groupId>de.hdm-stuttgart.sw1.klausur</groupId> + <artifactId>sw1_2015sommer_solve</artifactId> + <version>0.9</version> + <packaging>jar</packaging> - <name>sw1_2015sommer_solve</name> - <url>https://freedocs.mi.hdm-stuttgart.de</url> + <name>sw1_2015sommer_solve</name> - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - </properties> + <url>https://freedocs.mi.hdm-stuttgart.de/sd1_sect_mavenCli.html</url> - <repositories> - <repository> - <id>hdm-mi-internal-maven-repo</id> - <url>https://maven.mi.hdm-stuttgart.de/artifacts</url> - </repository> - </repositories> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.5.1</version> - <configuration> - <source>1.8</source> - <target>1.8</target> - </configuration> - </plugin> - </plugins> - </build> + <repositories> + <repository> + <id>hdm-mi-internal-maven-repo</id> + <url>https://maven.mi.hdm-stuttgart.de/nexus/repository/mi-maven</url> + </repository> + </repositories> - <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> - </dependency> + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <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> + <dependency> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-core</artifactId> + <version>2.12.0</version> + </dependency> - <dependency> - <groupId>de.hdm_stuttgart.mi.exam</groupId> - <artifactId>unitmarking</artifactId> - <version>0.9</version> - </dependency> + <dependency> + <groupId>de.hdm_stuttgart.mi.exam</groupId> + <artifactId>unitmarking</artifactId> + <version>1.0</version> + </dependency> - </dependencies> -</project> \ No newline at end of file + </dependencies> + + <build> + <plugins> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.8.1</version> + <configuration> + <source>11</source> + <target>11</target> + </configuration> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.1.1</version> + <configuration> + <javaApiLinks> + <property> + <name>api_11</name> + <value>https://klausur.mi.hdm-stuttgart.de/doc/openjdk-11-doc/api/</value> + </property> + </javaApiLinks> + + <additionalJOptions> + <additionalJOption>-html5</additionalJOption> + </additionalJOptions> + <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> + </configuration> + </plugin> + + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <version>3.1.1</version> + + <configuration> + <descriptors> + <descriptor>src/main/assembly/assembly.xml</descriptor> + </descriptors> + </configuration> + <executions> + <execution> + <id>make-assembly</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <archive> + <manifest> + <mainClass>de.hdm_stuttgart.mi.sd1.test.ShowReachedPoints</mainClass> + </manifest> + </archive> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> diff --git a/Klausuren/Sd1/2015summer/Solution/src/main/java/de/hdm_stuttgart/sw1/klausur/StringTransforms.java b/Klausuren/Sd1/2015summer/Solution/src/main/java/de/hdm_stuttgart/sw1/klausur/StringTransforms.java index df2c2192a..51890060b 100644 --- a/Klausuren/Sd1/2015summer/Solution/src/main/java/de/hdm_stuttgart/sw1/klausur/StringTransforms.java +++ b/Klausuren/Sd1/2015summer/Solution/src/main/java/de/hdm_stuttgart/sw1/klausur/StringTransforms.java @@ -10,13 +10,13 @@ public class StringTransforms { * * Beispiel: * - * "Der arme Richard" ==> "Del alme Lichald" + * "Der arme Richard" ==> "Del alme Lichald" * * @param input * Eine beliebige, von null verschiedene Zeichenkette * * @return - * Die Ersetzung der Zeichenkette gemäß {'r' ==> 'l', 'R' ==> 'L'} + * Die Ersetzung der Zeichenkette gemäß {'r' ==> 'l', 'R' ==> 'L'} */ public static String chinesischerAkzent(final String input) { @@ -39,7 +39,7 @@ public class StringTransforms { /** * Sprachwissenschaftler sind der Ansicht, dass auch nach dem Entfernen von - * Vokalen der Text lesbar bleibt. Beispiel: "Die Anden" ==> "D ndn" + * Vokalen der Text lesbar bleibt. Beispiel: "Die Anden" ==> "D ndn" * * @param input * Eine beliebige Zeichenkette oder null @@ -88,7 +88,7 @@ public class StringTransforms { * -Pro Buchstabe / Ziffer wird nach der Morse Zeichenfolge eine Pause (Leerzeichen) eingefügt. * * Beispiel (Leerzeichen beachten, auch am Ende des Morsecodes): - * "Abend" ==> ".- -... . -. -.. " + * "Abend" ==> ".- -... . -. -.. " * * @param input * Das Klartextwort, welches durch Morsezeichen kodiert werden soll. diff --git a/Klausuren/Sd1/2015winter/Exam/pom.xml b/Klausuren/Sd1/2015winter/Exam/pom.xml index b8b15b944..3467944d1 100644 --- a/Klausuren/Sd1/2015winter/Exam/pom.xml +++ b/Klausuren/Sd1/2015winter/Exam/pom.xml @@ -1,65 +1,107 @@ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - 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> + 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> - <groupId>de.hdm-stuttgart.sw1.klausur</groupId> - <artifactId>sw1_2015winter</artifactId> - <version>0.9</version> - <packaging>jar</packaging> + <groupId>de.hdm-stuttgart.sw1.klausur</groupId> + <artifactId>sw1_2015winter</artifactId> + <version>0.9</version> + <packaging>jar</packaging> - <name>sw1_2015winter</name> - <url>https://freedocs.mi.hdm-stuttgart.de</url> + <name>sw1_2015winter</name> - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - </properties> + <url>https://freedocs.mi.hdm-stuttgart.de/sd1_sect_mavenCli.html</url> - <repositories> - <repository> - <id>hdm-mi-internal-maven-repo</id> - <url>https://maven.mi.hdm-stuttgart.de/artifacts</url> - </repository> - </repositories> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.5.1</version> - <configuration> - <source>1.8</source> - <target>1.8</target> - </configuration> - </plugin> - </plugins> - </build> + <repositories> + <repository> + <id>hdm-mi-internal-maven-repo</id> + <url>https://maven.mi.hdm-stuttgart.de/nexus/repository/mi-maven</url> + </repository> + </repositories> - <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> - </dependency> + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <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.12.0</version> + </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - <version>2.1</version> - </dependency> + <dependency> + <groupId>de.hdm_stuttgart.mi.exam</groupId> + <artifactId>unitmarking</artifactId> + <version>1.0</version> + </dependency> - <dependency> - <groupId>de.hdm_stuttgart.mi.exam</groupId> - <artifactId>unitmarking</artifactId> - <version>0.9</version> - </dependency> + </dependencies> - </dependencies> -</project> \ No newline at end of file + <build> + <plugins> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.8.1</version> + <configuration> + <source>11</source> + <target>11</target> + </configuration> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.1.1</version> + <configuration> + <javaApiLinks> + <property> + <name>api_11</name> + <value>https://klausur.mi.hdm-stuttgart.de/doc/openjdk-11-doc/api/</value> + </property> + </javaApiLinks> + + <additionalJOptions> + <additionalJOption>-html5</additionalJOption> + </additionalJOptions> + <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> + </configuration> + </plugin> + + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <version>3.1.1</version> + + <configuration> + <descriptors> + <descriptor>src/main/assembly/assembly.xml</descriptor> + </descriptors> + </configuration> + <executions> + <execution> + <id>make-assembly</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <archive> + <manifest> + <mainClass>de.hdm_stuttgart.mi.sd1.test.ShowReachedPoints</mainClass> + </manifest> + </archive> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> diff --git a/Klausuren/Sd1/2015winter/Exam/src/main/java/de/hdm_stuttgart/sw1/klausur/Helper.java b/Klausuren/Sd1/2015winter/Exam/src/main/java/de/hdm_stuttgart/sw1/klausur/Helper.java index f5d3a808e..8a238fd48 100644 --- a/Klausuren/Sd1/2015winter/Exam/src/main/java/de/hdm_stuttgart/sw1/klausur/Helper.java +++ b/Klausuren/Sd1/2015winter/Exam/src/main/java/de/hdm_stuttgart/sw1/klausur/Helper.java @@ -32,7 +32,7 @@ public class Helper { * Falls keine Gruppe existiert, soll ein Wert kleiner 0 zurückgegeben werden. * * @param werte Die zu durchsuchenden Werte - * @return Index des Beginns der ersten gefundenen Gruppe, oder < 0, falls keine Gruppe vorhanden. + * @return Index des Beginns der ersten gefundenen Gruppe, oder < 0, falls keine Gruppe vorhanden. */ static public int getErstenGruppenIndex(final int [] werte) { diff --git a/Klausuren/Sd1/2015winter/Solution/pom.xml b/Klausuren/Sd1/2015winter/Solution/pom.xml index fe5fea595..12b1ff5a1 100644 --- a/Klausuren/Sd1/2015winter/Solution/pom.xml +++ b/Klausuren/Sd1/2015winter/Solution/pom.xml @@ -1,65 +1,107 @@ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - 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> + 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> - <groupId>de.hdm-stuttgart.sw1.klausur</groupId> - <artifactId>sw1_2015winter_solve</artifactId> - <version>0.9</version> - <packaging>jar</packaging> + <groupId>de.hdm-stuttgart.sw1.klausur</groupId> + <artifactId>sw1_2015winter_solve</artifactId> + <version>0.9</version> + <packaging>jar</packaging> - <name>sw1_2015winter_solve</name> - <url>https://freedocs.mi.hdm-stuttgart.de</url> + <name>sw1_2015winter_solve</name> - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - </properties> + <url>https://freedocs.mi.hdm-stuttgart.de/sd1_sect_mavenCli.html</url> - <repositories> - <repository> - <id>hdm-mi-internal-maven-repo</id> - <url>https://maven.mi.hdm-stuttgart.de/artifacts</url> - </repository> - </repositories> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.5.1</version> - <configuration> - <source>1.8</source> - <target>1.8</target> - </configuration> - </plugin> - </plugins> - </build> + <repositories> + <repository> + <id>hdm-mi-internal-maven-repo</id> + <url>https://maven.mi.hdm-stuttgart.de/nexus/repository/mi-maven</url> + </repository> + </repositories> - <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> - </dependency> + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <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.12.0</version> + </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - <version>2.1</version> - </dependency> + <dependency> + <groupId>de.hdm_stuttgart.mi.exam</groupId> + <artifactId>unitmarking</artifactId> + <version>1.0</version> + </dependency> - <dependency> - <groupId>de.hdm_stuttgart.mi.exam</groupId> - <artifactId>unitmarking</artifactId> - <version>0.9</version> - </dependency> + </dependencies> - </dependencies> -</project> \ No newline at end of file + <build> + <plugins> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.8.1</version> + <configuration> + <source>11</source> + <target>11</target> + </configuration> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.1.1</version> + <configuration> + <javaApiLinks> + <property> + <name>api_11</name> + <value>https://klausur.mi.hdm-stuttgart.de/doc/openjdk-11-doc/api/</value> + </property> + </javaApiLinks> + + <additionalJOptions> + <additionalJOption>-html5</additionalJOption> + </additionalJOptions> + <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> + </configuration> + </plugin> + + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <version>3.1.1</version> + + <configuration> + <descriptors> + <descriptor>src/main/assembly/assembly.xml</descriptor> + </descriptors> + </configuration> + <executions> + <execution> + <id>make-assembly</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <archive> + <manifest> + <mainClass>de.hdm_stuttgart.mi.sd1.test.ShowReachedPoints</mainClass> + </manifest> + </archive> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> diff --git a/Klausuren/Sd1/2015winter/Solution/src/main/java/de/hdm_stuttgart/sw1/klausur/Helper.java b/Klausuren/Sd1/2015winter/Solution/src/main/java/de/hdm_stuttgart/sw1/klausur/Helper.java index f9906f242..0ffbeb677 100644 --- a/Klausuren/Sd1/2015winter/Solution/src/main/java/de/hdm_stuttgart/sw1/klausur/Helper.java +++ b/Klausuren/Sd1/2015winter/Solution/src/main/java/de/hdm_stuttgart/sw1/klausur/Helper.java @@ -41,7 +41,7 @@ public class Helper { * Falls keine Gruppe existiert, soll ein Wert kleiner 0 zurückgegeben werden. * * @param werte Die zu durchsuchenden Werte - * @return Index des Beginns der ersten gefundenen Gruppe, oder < 0, falls keine Gruppe vorhanden. + * @return Index des Beginns der ersten gefundenen Gruppe, oder < 0, falls keine Gruppe vorhanden. */ static public int getErstenGruppenIndex(final int [] werte) { for (int i = 0; i < werte.length - 1; i++) { diff --git a/Klausuren/Sd1/2016summer/Exam/pom.xml b/Klausuren/Sd1/2016summer/Exam/pom.xml index 6b7f373bd..958981061 100644 --- a/Klausuren/Sd1/2016summer/Exam/pom.xml +++ b/Klausuren/Sd1/2016summer/Exam/pom.xml @@ -1,88 +1,107 @@ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - 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> + 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> - <groupId>de.hdm-stuttgart.sw1.klausur</groupId> - <artifactId>sw1_2016sommer_exam</artifactId> - <version>0.8</version> - <packaging>jar</packaging> + <groupId>de.hdm-stuttgart.sw1.klausur</groupId> + <artifactId>sw1_2016sommer_exam</artifactId> + <version>0.8</version> + <packaging>jar</packaging> - <name>sw1_2016summer_exam</name> - <url>https://freedocs.mi.hdm-stuttgart.de</url> + <name>sw1_2016summer_exam</name> - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - </properties> + <url>https://freedocs.mi.hdm-stuttgart.de/sd1_sect_mavenCli.html</url> - <repositories> - <repository> - <id>hdm-mi-internal-maven-repo</id> - <url>https://maven.mi.hdm-stuttgart.de/artifacts</url> - </repository> - </repositories> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.5.1</version> - <configuration> - <source>1.8</source> - <target>1.8</target> - </configuration> - </plugin> - <plugin> - <artifactId>maven-assembly-plugin</artifactId> - <version>2.3</version> - <configuration> - <descriptor>src/main/assembly/assembly.xml</descriptor> - </configuration> - <executions> - <execution> - <id>make-assembly</id> - <phase>package</phase> - <goals> - <goal>single</goal> - </goals> - <configuration> - <archive> - <manifest> - <mainClass>de.hdm_stuttgart.eval.ShowReachedPoints</mainClass> - </manifest> - </archive> - </configuration> - </execution> - </executions> - </plugin> + <repositories> + <repository> + <id>hdm-mi-internal-maven-repo</id> + <url>https://maven.mi.hdm-stuttgart.de/nexus/repository/mi-maven</url> + </repository> + </repositories> - </plugins> - </build> + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.12</version> + <scope>test</scope> + </dependency> - <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.12</version> - </dependency> + <dependency> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-core</artifactId> + <version>2.12.0</version> + </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-api</artifactId> - <version>2.1</version> - </dependency> + <dependency> + <groupId>de.hdm_stuttgart.mi.exam</groupId> + <artifactId>unitmarking</artifactId> + <version>1.0</version> + </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - <version>2.1</version> - </dependency> + </dependencies> - <dependency> - <groupId>de.hdm_stuttgart.mi.exam</groupId> - <artifactId>unitmarking</artifactId> - <version>0.9</version> - </dependency> + <build> + <plugins> - </dependencies> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.8.1</version> + <configuration> + <source>11</source> + <target>11</target> + </configuration> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.1.1</version> + <configuration> + <javaApiLinks> + <property> + <name>api_11</name> + <value>https://klausur.mi.hdm-stuttgart.de/doc/openjdk-11-doc/api/</value> + </property> + </javaApiLinks> + + <additionalJOptions> + <additionalJOption>-html5</additionalJOption> + </additionalJOptions> + <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> + </configuration> + </plugin> + + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <version>3.1.1</version> + + <configuration> + <descriptors> + <descriptor>src/main/assembly/assembly.xml</descriptor> + </descriptors> + </configuration> + <executions> + <execution> + <id>make-assembly</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <archive> + <manifest> + <mainClass>de.hdm_stuttgart.mi.sd1.test.ShowReachedPoints</mainClass> + </manifest> + </archive> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> </project> diff --git a/Klausuren/Sd1/2016summer/Solution/pom.xml b/Klausuren/Sd1/2016summer/Solution/pom.xml index 767b5566e..2d03467e7 100644 --- a/Klausuren/Sd1/2016summer/Solution/pom.xml +++ b/Klausuren/Sd1/2016summer/Solution/pom.xml @@ -1,89 +1,107 @@ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - 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> + 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> - <groupId>de.hdm-stuttgart.sw1.klausur</groupId> - <artifactId>sw1_2016sommer_solve</artifactId> - <version>0.9</version> - <packaging>jar</packaging> + <groupId>de.hdm-stuttgart.sw1.klausur</groupId> + <artifactId>sw1_2016sommer_solve</artifactId> + <version>0.9</version> + <packaging>jar</packaging> - <name>sw1_2016summer_solve</name> - <url>https://freedocs.mi.hdm-stuttgart.de</url> + <name>sw1_2016summer_solve</name> - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - </properties> + <url>https://freedocs.mi.hdm-stuttgart.de/sd1_sect_mavenCli.html</url> - <repositories> - <repository> - <id>hdm-mi-internal-maven-repo</id> - <url>https://maven.mi.hdm-stuttgart.de/artifacts</url> - </repository> - </repositories> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.5.1</version> - <configuration> - <source>1.8</source> - <target>1.8</target> - </configuration> - </plugin> + <repositories> + <repository> + <id>hdm-mi-internal-maven-repo</id> + <url>https://maven.mi.hdm-stuttgart.de/nexus/repository/mi-maven</url> + </repository> + </repositories> - <plugin> - <artifactId>maven-assembly-plugin</artifactId> - <version>2.3</version> - <configuration> - <descriptor>src/main/assembly/assembly.xml</descriptor> - </configuration> - <executions> - <execution> - <id>make-assembly</id> - <phase>package</phase> - <goals> - <goal>single</goal> - </goals> - <configuration> - <archive> - <manifest> - <mainClass>de.hdm_stuttgart.eval.ShowReachedPoints</mainClass> - </manifest> - </archive> - </configuration> - </execution> - </executions> - </plugin> + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.12</version> + <scope>test</scope> + </dependency> - </plugins> - </build> + <dependency> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-core</artifactId> + <version>2.12.0</version> + </dependency> - <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.12</version> - </dependency> + <dependency> + <groupId>de.hdm_stuttgart.mi.exam</groupId> + <artifactId>unitmarking</artifactId> + <version>1.0</version> + </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-api</artifactId> - <version>2.1</version> - </dependency> + </dependencies> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - <version>2.1</version> - </dependency> + <build> + <plugins> - <dependency> - <groupId>de.hdm_stuttgart.mi.exam</groupId> - <artifactId>unitmarking</artifactId> - <version>0.9</version> - </dependency> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.8.1</version> + <configuration> + <source>11</source> + <target>11</target> + </configuration> + </plugin> - </dependencies> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.1.1</version> + <configuration> + <javaApiLinks> + <property> + <name>api_11</name> + <value>https://klausur.mi.hdm-stuttgart.de/doc/openjdk-11-doc/api/</value> + </property> + </javaApiLinks> + + <additionalJOptions> + <additionalJOption>-html5</additionalJOption> + </additionalJOptions> + <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> + </configuration> + </plugin> + + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <version>3.1.1</version> + + <configuration> + <descriptors> + <descriptor>src/main/assembly/assembly.xml</descriptor> + </descriptors> + </configuration> + <executions> + <execution> + <id>make-assembly</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <archive> + <manifest> + <mainClass>de.hdm_stuttgart.mi.sd1.test.ShowReachedPoints</mainClass> + </manifest> + </archive> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> </project> diff --git a/Klausuren/Sd1/2016winter/Exam/pom.xml b/Klausuren/Sd1/2016winter/Exam/pom.xml index f5978f0bf..909c15deb 100644 --- a/Klausuren/Sd1/2016winter/Exam/pom.xml +++ b/Klausuren/Sd1/2016winter/Exam/pom.xml @@ -1,94 +1,107 @@ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - 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> + 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> - <groupId>de.hdm-stuttgart.mi.sd1</groupId> - <artifactId>sd1_2016winter_exam</artifactId> - <version>0.9</version> - <packaging>jar</packaging> + <groupId>de.hdm-stuttgart.mi.sd1</groupId> + <artifactId>sd1_2016winter_exam</artifactId> + <version>0.9</version> + <packaging>jar</packaging> - <name>sd1_2016winter_exam</name> + <name>sd1_2016winter_exam</name> - <url>http://www.mi.hdm-stuttgart.de/freedocs/topic/de.hdm_stuttgart.mi.lectures/sd1SectUsingMaven.html</url> + <url>https://freedocs.mi.hdm-stuttgart.de/sd1_sect_mavenCli.html</url> - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - </properties> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> - <repositories> - <repository> - <id>hdm-mi-internal-maven-repo</id> - <url>https://maven.mi.hdm-stuttgart.de/artifacts</url> - </repository> - </repositories> + <repositories> + <repository> + <id>hdm-mi-internal-maven-repo</id> + <url>https://maven.mi.hdm-stuttgart.de/nexus/repository/mi-maven</url> + </repository> + </repositories> + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.12</version> + <scope>test</scope> + </dependency> - <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> - </dependency> + <dependency> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-core</artifactId> + <version>2.12.0</version> + </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - <version>2.6</version> - </dependency> + <dependency> + <groupId>de.hdm_stuttgart.mi.exam</groupId> + <artifactId>unitmarking</artifactId> + <version>1.0</version> + </dependency> - <dependency> - <groupId>de.hdm_stuttgart.mi.exam</groupId> - <artifactId>unitmarking</artifactId> - <version>0.9</version> - </dependency> + </dependencies> - </dependencies> + <build> + <plugins> - <build> - <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.8.1</version> + <configuration> + <source>11</source> + <target>11</target> + </configuration> + </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.5.1</version> - <configuration> - <source>1.8</source> - <target>1.8</target> - </configuration> - </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.1.1</version> + <configuration> + <javaApiLinks> + <property> + <name>api_11</name> + <value>https://klausur.mi.hdm-stuttgart.de/doc/openjdk-11-doc/api/</value> + </property> + </javaApiLinks> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>2.10.3</version> - <configuration /> - </plugin> + <additionalJOptions> + <additionalJOption>-html5</additionalJOption> + </additionalJOptions> + <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> + </configuration> + </plugin> - <plugin> - <artifactId>maven-assembly-plugin</artifactId> - <version>2.3</version> - <configuration> - <descriptor>src/main/assembly/assembly.xml</descriptor> - </configuration> - <executions> - <execution> - <id>make-assembly</id> - <phase>package</phase> - <goals> - <goal>single</goal> - </goals> - <configuration> - <archive> - <manifest> - <mainClass>de.hdm_stuttgart.eval.ShowReachedPoints</mainClass> - </manifest> - </archive> - </configuration> - </execution> - </executions> - </plugin> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <version>3.1.1</version> - </plugins> - </build> + <configuration> + <descriptors> + <descriptor>src/main/assembly/assembly.xml</descriptor> + </descriptors> + </configuration> + <executions> + <execution> + <id>make-assembly</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <archive> + <manifest> + <mainClass>de.hdm_stuttgart.mi.sd1.test.ShowReachedPoints</mainClass> + </manifest> + </archive> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> </project> diff --git a/Klausuren/Sd1/2016winter/Solution/pom.xml b/Klausuren/Sd1/2016winter/Solution/pom.xml index 24ebc6669..e4ebc6b64 100644 --- a/Klausuren/Sd1/2016winter/Solution/pom.xml +++ b/Klausuren/Sd1/2016winter/Solution/pom.xml @@ -1,94 +1,107 @@ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - 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> + 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> - <groupId>de.hdm-stuttgart.mi.sd1</groupId> - <artifactId>sd1_2016winter_solve</artifactId> - <version>0.9</version> - <packaging>jar</packaging> + <groupId>de.hdm-stuttgart.mi.sd1</groupId> + <artifactId>sd1_2016winter_solve</artifactId> + <version>0.9</version> + <packaging>jar</packaging> - <name>sd1_2016winter_solve</name> + <name>sd1_2016winter_solve</name> - <url>http://www.mi.hdm-stuttgart.de/freedocs/topic/de.hdm_stuttgart.mi.lectures/sd1SectUsingMaven.html</url> + <url>https://freedocs.mi.hdm-stuttgart.de/sd1_sect_mavenCli.html</url> - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - </properties> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> - <repositories> - <repository> - <id>hdm-mi-internal-maven-repo</id> - <url>https://maven.mi.hdm-stuttgart.de/artifacts</url> - </repository> - </repositories> + <repositories> + <repository> + <id>hdm-mi-internal-maven-repo</id> + <url>https://maven.mi.hdm-stuttgart.de/nexus/repository/mi-maven</url> + </repository> + </repositories> + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.12</version> + <scope>test</scope> + </dependency> - <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> - </dependency> + <dependency> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-core</artifactId> + <version>2.12.0</version> + </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - <version>2.6</version> - </dependency> + <dependency> + <groupId>de.hdm_stuttgart.mi.exam</groupId> + <artifactId>unitmarking</artifactId> + <version>1.0</version> + </dependency> - <dependency> - <groupId>de.hdm_stuttgart.mi.exam</groupId> - <artifactId>unitmarking</artifactId> - <version>0.9</version> - </dependency> + </dependencies> - </dependencies> + <build> + <plugins> - <build> - <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.8.1</version> + <configuration> + <source>11</source> + <target>11</target> + </configuration> + </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.5.1</version> - <configuration> - <source>1.8</source> - <target>1.8</target> - </configuration> - </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.1.1</version> + <configuration> + <javaApiLinks> + <property> + <name>api_11</name> + <value>https://klausur.mi.hdm-stuttgart.de/doc/openjdk-11-doc/api/</value> + </property> + </javaApiLinks> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>2.10.3</version> - <configuration /> - </plugin> + <additionalJOptions> + <additionalJOption>-html5</additionalJOption> + </additionalJOptions> + <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> + </configuration> + </plugin> - <plugin> - <artifactId>maven-assembly-plugin</artifactId> - <version>2.3</version> - <configuration> - <descriptor>src/main/assembly/assembly.xml</descriptor> - </configuration> - <executions> - <execution> - <id>make-assembly</id> - <phase>package</phase> - <goals> - <goal>single</goal> - </goals> - <configuration> - <archive> - <manifest> - <mainClass>de.hdm_stuttgart.eval.ShowReachedPoints</mainClass> - </manifest> - </archive> - </configuration> - </execution> - </executions> - </plugin> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <version>3.1.1</version> - </plugins> - </build> + <configuration> + <descriptors> + <descriptor>src/main/assembly/assembly.xml</descriptor> + </descriptors> + </configuration> + <executions> + <execution> + <id>make-assembly</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <archive> + <manifest> + <mainClass>de.hdm_stuttgart.mi.sd1.test.ShowReachedPoints</mainClass> + </manifest> + </archive> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> </project> diff --git a/Klausuren/Sd1/2017summer/Exam/pom.xml b/Klausuren/Sd1/2017summer/Exam/pom.xml index 55abe4d05..267be557f 100644 --- a/Klausuren/Sd1/2017summer/Exam/pom.xml +++ b/Klausuren/Sd1/2017summer/Exam/pom.xml @@ -1,105 +1,108 @@ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - 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> - - <groupId>de.hdm-stuttgart.mi.sd1</groupId> - <artifactId>sd1_2017sommer_exam</artifactId> - <version>0.9</version> - <packaging>jar</packaging> - - <name>sd1_2017sommer_exam</name> - - <url>http://www.mi.hdm-stuttgart.de/freedocs/topic/de.hdm_stuttgart.mi.lectures/sd1SectUsingMaven.html</url> - - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - </properties> - - <repositories> - <repository> - <id>hdm-mi-internal-maven-repo</id> - <url>https://maven.mi.hdm-stuttgart.de/artifacts</url> - </repository> - </repositories> - - - <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.hamcrest</groupId> - <artifactId>hamcrest-library</artifactId> - <version>1.3</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - <version>2.6</version> - </dependency> - - <dependency> - <groupId>de.hdm_stuttgart.mi.exam</groupId> - <artifactId>unitmarking</artifactId> - <version>0.9</version> - </dependency> - - </dependencies> - - <build> - <plugins> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.5.1</version> - <configuration> - <source>1.8</source> - <target>1.8</target> - </configuration> - </plugin> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>3.0.1</version> - <configuration > - <additionalJOptions> - <additionalJOption>-html5</additionalJOption> - </additionalJOptions> - </configuration> - </plugin> - - <plugin> - <artifactId>maven-assembly-plugin</artifactId> - <version>2.3</version> - <configuration> - <descriptor>src/main/assembly/assembly.xml</descriptor> - </configuration> - <executions> - <execution> - <id>make-assembly</id> - <phase>package</phase> - <goals> - <goal>single</goal> - </goals> - <configuration> - <archive> - <manifest> - <mainClass>de.hdm_stuttgart.mi.sd1.test.ShowReachedPoints</mainClass> - </manifest> - </archive> - </configuration> - </execution> - </executions> - </plugin> - - </plugins> - </build> + 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> + + <groupId>de.hdm-stuttgart.mi.sd1</groupId> + <artifactId>sd1_2017sommer_exam</artifactId> + <version>0.9</version> + + <packaging>jar</packaging> + + <name>sd1_2017sommer_exam</name> + + <url>https://freedocs.mi.hdm-stuttgart.de/sd1_sect_mavenCli.html</url> + + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> + + <repositories> + <repository> + <id>hdm-mi-internal-maven-repo</id> + <url>https://maven.mi.hdm-stuttgart.de/nexus/repository/mi-maven</url> + </repository> + </repositories> + + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.12</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-core</artifactId> + <version>2.12.0</version> + </dependency> + + <dependency> + <groupId>de.hdm_stuttgart.mi.exam</groupId> + <artifactId>unitmarking</artifactId> + <version>1.0</version> + </dependency> + + </dependencies> + + <build> + <plugins> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.8.1</version> + <configuration> + <source>11</source> + <target>11</target> + </configuration> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.1.1</version> + <configuration> + <javaApiLinks> + <property> + <name>api_11</name> + <value>https://klausur.mi.hdm-stuttgart.de/doc/openjdk-11-doc/api/</value> + </property> + </javaApiLinks> + + <additionalJOptions> + <additionalJOption>-html5</additionalJOption> + </additionalJOptions> + <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> + </configuration> + </plugin> + + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <version>3.1.1</version> + + <configuration> + <descriptors> + <descriptor>src/main/assembly/assembly.xml</descriptor> + </descriptors> + </configuration> + <executions> + <execution> + <id>make-assembly</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <archive> + <manifest> + <mainClass>de.hdm_stuttgart.mi.sd1.test.ShowReachedPoints</mainClass> + </manifest> + </archive> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> </project> diff --git a/Klausuren/Sd1/2017summer/Solve/pom.xml b/Klausuren/Sd1/2017summer/Solve/pom.xml index d0ca3639f..06f8120e5 100644 --- a/Klausuren/Sd1/2017summer/Solve/pom.xml +++ b/Klausuren/Sd1/2017summer/Solve/pom.xml @@ -1,13 +1,112 @@ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - 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> + 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> + + <groupId>de.hdm-stuttgart.mi.sd1</groupId> + <artifactId>sd1_2017sommer_solve</artifactId> + <version>0.9</version> + <packaging>jar</packaging> + + <name>sd1_2017sommer_solve</name> + + <url>https://freedocs.mi.hdm-stuttgart.de/sd1_sect_mavenCli.html</url> + + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> + + <repositories> + <repository> + <id>hdm-mi-internal-maven-repo</id> + <url>https://maven.mi.hdm-stuttgart.de/nexus/repository/mi-maven</url> + </repository> + </repositories> + + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.12</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-core</artifactId> + <version>2.12.0</version> + </dependency> + + <dependency> + <groupId>de.hdm_stuttgart.mi.exam</groupId> + <artifactId>unitmarking</artifactId> + <version>1.0</version> + </dependency> + + </dependencies> + + <build> + <plugins> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.8.1</version> + <configuration> + <source>11</source> + <target>11</target> + </configuration> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.1.1</version> + <configuration> + <javaApiLinks> + <property> + <name>api_11</name> + <value>https://klausur.mi.hdm-stuttgart.de/doc/openjdk-11-doc/api/</value> + </property> + </javaApiLinks> + + <additionalJOptions> + <additionalJOption>-html5</additionalJOption> + </additionalJOptions> + <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> + </configuration> + </plugin> + + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <version>3.1.1</version> + + <configuration> + <descriptors> + <descriptor>src/main/assembly/assembly.xml</descriptor> + </descriptors> + </configuration> + <executions> + <execution> + <id>make-assembly</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <archive> + <manifest> + <mainClass>de.hdm_stuttgart.mi.sd1.test.ShowReachedPoints</mainClass> + </manifest> + </archive> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> - <groupId>de.hdm-stuttgart.mi.sd1</groupId> - <artifactId>sd1_2017sommer_solve</artifactId> - <version>0.9</version> - <packaging>jar</packaging> - <name>sd1_2017sommer_solve</name> <url>http://www.mi.hdm-stuttgart.de/freedocs/topic/de.hdm_stuttgart.mi.lectures/sd1SectUsingMaven.html</url> -- GitLab