From 2828fd4f58d3d7980bba5f3be995c3e0d29519dd Mon Sep 17 00:00:00 2001 From: Matthew Ellison Date: Mon, 26 Jan 2026 10:15:58 -0500 Subject: [PATCH] Update to make maven 4 compliant --- pom.xml | 340 +++++++++++------- .../mattrixwv/exceptions/InvalidResult.java | 10 +- 2 files changed, 206 insertions(+), 144 deletions(-) diff --git a/pom.xml b/pom.xml index 3f4a68d..0b81c71 100644 --- a/pom.xml +++ b/pom.xml @@ -38,185 +38,61 @@ UTF-8 UTF-8 - 21 - 21 - 21 + 25 + 25 + 25 - 21 + 25 target/dependency-check-report.json target/dependency-check-report.html - - - 3BA6515C8FF145249BEBBEABA52FDEC4259179D4 org.junit.jupiter - junit-jupiter-api - 6.0.1 + junit-jupiter + 6.0.2 test - org.apache.maven.plugins maven-enforcer-plugin - 3.6.2 enforce-maven enforce - - - - 3.8.6 - - - - - maven-clean-plugin - 3.5.0 - - - maven-resources-plugin - 3.4.0 - - - maven-compiler-plugin - 3.14.1 - - ${java.version} - - -Xlint:all - - true - true - - - - maven-surefire-plugin - 3.5.4 - - - maven-jar-plugin - 3.5.0 - - - maven-install-plugin - 3.1.4 - - - maven-deploy-plugin - 3.1.4 - - - maven-site-plugin - 3.21.0 - - - maven-project-info-reports-plugin - 3.9.0 - - - org.codehaus.mojo - versions-maven-plugin - 2.20.1 - - file://${session.executionRootDirectory}/version-rules.xml - - - - org.apache.maven.plugins - maven-dependency-plugin - 3.9.0 - - - org.sonarsource.scanner.maven - sonar-maven-plugin - 5.5.0.6356 - - - org.jacoco - jacoco-maven-plugin - 0.8.14 - - - jacoco-initialize - none - - prepare-agent - - - - jacoco-site - none - - report - - - - org.owasp dependency-check-maven 12.1.9 - none + dependency-check + verify check - - - json - html - - nvd - - - org.sonatype.central - central-publishing-maven-plugin - 0.9.0 - true - - ossrh - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.7.0 - true - - ossrh - https://s01.oss.sonatype.org/ - true - - - org.apache.maven.plugins maven-source-plugin - 3.4.0 attach-sources @@ -226,11 +102,9 @@ - org.apache.maven.plugins maven-javadoc-plugin - 3.12.0 attach-javadocs @@ -240,11 +114,9 @@ - org.apache.maven.plugins maven-gpg-plugin - 3.2.8 sign-artifacts @@ -252,12 +124,202 @@ sign - - ${gpg.keyname} - + + + + + + org.apache.maven.plugins + maven-enforcer-plugin + 3.6.2 + + + + 3.8.6 + + + + + + org.apache.maven.plugins + maven-clean-plugin + 3.5.0 + + + org.apache.maven.plugins + maven-resources-plugin + 3.4.0 + + + org.apache.maven.plugins + maven-compiler-plugin + 3.14.1 + + ${java.version} + + -Xlint:all + + true + true + + + + org.apache.maven.plugins + maven-surefire-plugin + 3.5.4 + + + org.apache.maven.plugins + maven-jar-plugin + 3.5.0 + + + org.apache.maven.plugins + maven-install-plugin + 3.1.4 + + + org.apache.maven.plugins + maven-site-plugin + 3.21.0 + + + org.apache.maven.plugins + maven-project-info-reports-plugin + 3.9.0 + + + org.codehaus.mojo + versions-maven-plugin + 2.20.1 + + file://${session.executionRootDirectory}/version-rules.xml + + + + org.apache.maven.plugins + maven-dependency-plugin + 3.9.0 + + + + + org.sonarsource.scanner.maven + sonar-maven-plugin + 5.5.0.6356 + + + org.jacoco + jacoco-maven-plugin + 0.8.14 + + + jacoco-initialize + none + + prepare-agent + + + + jacoco-site + none + + report + + + + + + org.owasp + dependency-check-maven + 12.1.9 + + + none + + check + + + + + + json + html + + nvd + 7 + ossrh + + + + + + org.sonatype.central + central-publishing-maven-plugin + 0.10.0 + true + + central + true + + + + + org.apache.maven.plugins + maven-deploy-plugin + 3.1.4 + + true + + + + + org.apache.maven.plugins + maven-source-plugin + 3.4.0 + + + attach-sources + + jar-no-fork + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.12.0 + + + attach-javadocs + + jar + + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 3.2.8 + + + sign-artifacts + verify + + sign + + + + + + diff --git a/src/main/java/com/mattrixwv/exceptions/InvalidResult.java b/src/main/java/com/mattrixwv/exceptions/InvalidResult.java index 1c64664..fb58c0b 100644 --- a/src/main/java/com/mattrixwv/exceptions/InvalidResult.java +++ b/src/main/java/com/mattrixwv/exceptions/InvalidResult.java @@ -1,8 +1,3 @@ -//JavaClasses/src/main/java/mattrixwv/Exceptions/InvalidResult.java -//Matthew Ellison -// Created: 08-24-20 -//Modified: 08-11-24 -//This is an exception for an invalid result out of one of my algorithms package com.mattrixwv.exceptions; @@ -17,6 +12,11 @@ package com.mattrixwv.exceptions; * @see RuntimeException */ public class InvalidResult extends RuntimeException{ + /** + * Serialization identifier for this class + */ + public static final long serialVersionUID = 1L; + /** * Constructs a new runtime exception with {@code null} as its detail message. * The cause is not initialized and may subsequently be initialized by a call to {@link #initCause}.