diff --git a/.gitignore b/.gitignore index b24d71e..2f7896d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,50 +1 @@ -# These are some examples of commonly ignored file patterns. -# You should customize this list as applicable to your project. -# Learn more about .gitignore: -# https://www.atlassian.com/git/tutorials/saving-changes/gitignore - -# Node artifact files -node_modules/ -dist/ - -# Compiled Java class files -*.class - -# Compiled Python bytecode -*.py[cod] - -# Log files -*.log - -# Package files -*.jar - -# Maven target/ -dist/ - -# JetBrains IDE -.idea/ - -# Unit test reports -TEST*.xml - -# Generated by MacOS -.DS_Store - -# Generated by Windows -Thumbs.db - -# Applications -*.app -*.exe -*.war - -# Large media files -*.mp4 -*.tiff -*.avi -*.flv -*.mov -*.wmv - diff --git a/dependencySuppression.xml b/dependencySuppression.xml new file mode 100644 index 0000000..fbf9371 --- /dev/null +++ b/dependencySuppression.xml @@ -0,0 +1,3 @@ + + + diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..c6b67e0 --- /dev/null +++ b/pom.xml @@ -0,0 +1,224 @@ + + + 4.0.0 + + com.mattrixwv.adventOfCode + adventOfCode24 + 1.0.0 + + Advent of Code 2024 + Advent of Code coding advent calendar for year 2024 + + https://adventofcode.com/2024 + + + 21 + 3.6.3 + ${java.version} + ${java.version} + UTF-8 + + + ${java.version} + target/dependency-check-report.html + target/dependency-check-report.json + + ${jacoco.excludePattern} + + + + + com.mattrixwv + myClasses + 1.3.6 + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.13.0 + + ${java.version} + + -Xlint:all,-processing + + true + true + + + + + org.apache.maven.plugins + maven-dependency-plugin + 3.8.1 + + + + org.codehaus.mojo + versions-maven-plugin + 2.18.0 + + file://${session.executionRootDirectory}/versionRules.xml + + + + + org.apache.maven.plugins + maven-resources-plugin + 3.3.1 + + ${project.encoding} + + + + + org.apache.maven.plugins + maven-enforcer-plugin + 3.5.0 + + + enforce-maven + + enforce + + + + + ${maven.version} + + + + + + + + + org.apache.maven.plugins + maven-install-plugin + 3.1.3 + + + + org.apache.maven.plugins + maven-site-plugin + 3.21.0 + + + + org.apache.maven.plugins + maven-surefire-plugin + 3.5.2 + + ${argLine} -XX:+EnableDynamicAgentLoading -Xshare:off + + + + + org.apache.maven.plugins + maven-deploy-plugin + 3.1.3 + + + + org.apache.maven.plugins + maven-assembly-plugin + 3.7.1 + + + package + + single + + + + + com.mattrixwv.adventOfCode.Driver + + + + jar-with-dependencies + + + + + + + + org.apache.maven.plugins + maven-jar-plugin + 3.4.2 + + + + true + resources/ + com.mattrixwv.adventOfCode.Driver + + + + + + + org.sonarsource.scanner.maven + sonar-maven-plugin + 5.0.0.4389 + + + + org.jacoco + jacoco-maven-plugin + 0.8.12 + + + ${jacoco.excludePattern} + + + + + jacoco-initialize + none + + prepare-agent + + + + jacoco-site + none + + report + + + + + + + org.owasp + dependency-check-maven + 11.1.1 + + + vulnerability-scan + none + + aggregate + + + + + + html + json + + + ${project.basedir}/dependencySuppression.xml + + + + + + diff --git a/versionRules.xml b/versionRules.xml new file mode 100644 index 0000000..5f43b86 --- /dev/null +++ b/versionRules.xml @@ -0,0 +1,20 @@ + + + + + (?i).*alpha(?:-?\d+)? + (?i).*alpha.(?:-?\d+)? + (?i).*a(?:-?\d+)? + (?i).*beta(?:-?\d+)? + (?i).*-b(?:-?\d+)? + (?i).*-b(?:-?\d+).(?:-?\d+)? + (?i).*RC(?:-?\d+)? + (?i).*CR(?:-?\d+)? + (?i).*M(?:-?\d+)? + + + +