From 3772b03677cfdf1c8ed10ba7437565b533faf3dc Mon Sep 17 00:00:00 2001 From: Thomas Smits Date: Tue, 7 Oct 2025 08:21:49 +0200 Subject: [PATCH] Update of exercises --- solutions/checkstyle.xml | 1 + sources/bin/checkstyle.xml | 204 +++++++++++++++++++++++++++++++++++++ sources/bin/pmd.xml | 60 +++++++++++ sources/bin/pom.xml | 159 +++++++++++++++++++++++++++++ sources/checkstyle.xml | 1 + 5 files changed, 425 insertions(+) create mode 100644 sources/bin/checkstyle.xml create mode 100644 sources/bin/pmd.xml create mode 100644 sources/bin/pom.xml diff --git a/solutions/checkstyle.xml b/solutions/checkstyle.xml index 2a9d4aa..546266a 100644 --- a/solutions/checkstyle.xml +++ b/solutions/checkstyle.xml @@ -68,6 +68,7 @@ + diff --git a/sources/bin/checkstyle.xml b/sources/bin/checkstyle.xml new file mode 100644 index 0000000..546266a --- /dev/null +++ b/sources/bin/checkstyle.xml @@ -0,0 +1,204 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sources/bin/pmd.xml b/sources/bin/pmd.xml new file mode 100644 index 0000000..f004da7 --- /dev/null +++ b/sources/bin/pmd.xml @@ -0,0 +1,60 @@ + + + + + + My custom rules + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sources/bin/pom.xml b/sources/bin/pom.xml new file mode 100644 index 0000000..947ce09 --- /dev/null +++ b/sources/bin/pom.xml @@ -0,0 +1,159 @@ + + 4.0.0 + de.hs_mannheim.pr2 + solutions + 1.0-SNAPSHOT + jar + + PR2 Excercises + + + UTF-8 + 21 + 21 + 5.12.2 + 1.12.2 + 7.13.0 + + + + jitpack.io + https://jitpack.io + + + + install + ${basedir}/target + ${project.artifactId}-${project.version} + + + maven-compiler-plugin + 3.10.1 + + + maven-surefire-plugin + 3.5.2 + + + maven-failsafe-plugin + 3.5.2 + + + org.apache.maven.plugins + maven-checkstyle-plugin + 3.6.0 + + + com.puppycrawl.tools + checkstyle + 10.4 + + + + checkstyle.xml + true + true + false + + + + validate + validate + + check + + + + + + org.apache.maven.plugins + maven-pmd-plugin + 3.26.0 + + + net.sourceforge.pmd + pmd-core + ${pmdVersion} + + + net.sourceforge.pmd + pmd-java + ${pmdVersion} + + + net.sourceforge.pmd + pmd-javascript + ${pmdVersion} + + + net.sourceforge.pmd + pmd-jsp + ${pmdVersion} + + + + + ./pmd.xml + + true + true + + + + + check + + + + + + + + + + com.github.thomsmits + game-framework + v1.0 + + + org.junit.jupiter + junit-jupiter-engine + ${junit.jupiter.version} + + + org.junit.jupiter + junit-jupiter-api + ${junit.jupiter.version} + + + org.junit.jupiter + junit-jupiter-params + ${junit.jupiter.version} + + + org.junit.platform + junit-platform-suite + ${junit.platform.version} + + + org.junit.vintage + junit-vintage-engine + ${junit.jupiter.version} + + + org.jfree + jfreechart + 1.5.3 + + + + diff --git a/sources/checkstyle.xml b/sources/checkstyle.xml index 2a9d4aa..546266a 100644 --- a/sources/checkstyle.xml +++ b/sources/checkstyle.xml @@ -68,6 +68,7 @@ +