diff --git a/Klausuren/Sd1/2014winter/Exam/pom.xml b/Klausuren/Sd1/2014winter/Exam/pom.xml index 5b5975095e4ab106af136453f28d0cbbabbc4597..cebaa7525626cd87f9045fd1b60d55d533c2d301 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 313e1595cc6234a3181af04caaceb47d18986d7a..cf8c6cc5253d837e680bab2b4135e4214cfc74e8 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 23d033c6c4df211624e3110ae7ed4e593c9c1b66..d4ecb024546a1db5397183c893a46e69cf69224c 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 58f59e44c1ca810a3e3d7173339df0e5058ec786..7a862ec24757129408f894fd7cc9a65edc11be30 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 df2c2192a1be220ef11605057de02ff35a4370ed..51890060bca633c57f9f2695dfb3580901d44f99 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 b8b15b944af9ae56bb55ff77b920c7c226763edd..3467944d16746b39076364c6aee273c6311e71f4 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 f5d3a808ecbb974f65428b08f5897beb33bda79f..8a238fd48f78939e53d43522e97a17564baf86be 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 fe5fea595fc529f81686f6005c9540dfe4c131d2..12b1ff5a12cb7892d03b1a5837a013c1c0db54c7 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 f9906f2429ac81259295176b1df7f337dca8a859..0ffbeb67700b6d7f6f0d2ea13177a958915b0546 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 6b7f373bdb884ad647145f21360c178dc9b5cfae..958981061a6d9005d0464215455d7d746cf42cce 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 767b5566eecdabf2a0aa68eba1db0f0fe96f88c8..2d03467e7578e0e56ef81ace8e437762ffcca32c 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 f5978f0bf408ebe92a4fd43b0536540ffc28b266..909c15deb1e79bb19f4a1b71105161667d98b498 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 24ebc666988f34e76ee1828847949fb7e1b8e3bb..e4ebc6b64bfcfd96df5fbc8c2dd537e27ceb499e 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 55abe4d051dc90366050ed35c357c45890180d0c..267be557fd28d3f60c3409fd7a0142f96eaf88de 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 d0ca3639f1bdedad9305461d78d589fdad1a4245..06f8120e593db6a7b8f9ef9568389da6e1a8ad44 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>