diff --git a/autograder-extra/pom.xml b/autograder-extra/pom.xml index 0aa1e916..b73749b8 100644 --- a/autograder-extra/pom.xml +++ b/autograder-extra/pom.xml @@ -16,7 +16,7 @@ 3.3.0 - 7.0.0-rc3 + 7.3.0 diff --git a/autograder-extra/src/main/java/de/firemage/autograder/extra/pmd/PMDCheck.java b/autograder-extra/src/main/java/de/firemage/autograder/extra/pmd/PMDCheck.java index 87f0c44f..69908e20 100644 --- a/autograder-extra/src/main/java/de/firemage/autograder/extra/pmd/PMDCheck.java +++ b/autograder-extra/src/main/java/de/firemage/autograder/extra/pmd/PMDCheck.java @@ -4,8 +4,8 @@ import de.firemage.autograder.core.ProblemType; import de.firemage.autograder.api.Translatable; import de.firemage.autograder.core.check.Check; -import net.sourceforge.pmd.Rule; -import net.sourceforge.pmd.RuleViolation; +import net.sourceforge.pmd.lang.rule.Rule; +import net.sourceforge.pmd.reporting.RuleViolation; import net.sourceforge.pmd.lang.Language; import net.sourceforge.pmd.lang.LanguageRegistry; diff --git a/autograder-extra/src/main/java/de/firemage/autograder/extra/pmd/PMDInCodeProblem.java b/autograder-extra/src/main/java/de/firemage/autograder/extra/pmd/PMDInCodeProblem.java index 126d67ab..9d41d96e 100644 --- a/autograder-extra/src/main/java/de/firemage/autograder/extra/pmd/PMDInCodeProblem.java +++ b/autograder-extra/src/main/java/de/firemage/autograder/extra/pmd/PMDInCodeProblem.java @@ -4,7 +4,7 @@ import de.firemage.autograder.core.Problem; import de.firemage.autograder.core.LocalizedMessage; import de.firemage.autograder.core.file.SourceInfo; -import net.sourceforge.pmd.RuleViolation; +import net.sourceforge.pmd.reporting.RuleViolation; import java.nio.file.Path; diff --git a/autograder-extra/src/main/java/de/firemage/autograder/extra/pmd/PMDLinter.java b/autograder-extra/src/main/java/de/firemage/autograder/extra/pmd/PMDLinter.java index 2cb8641f..aa8d9d1c 100644 --- a/autograder-extra/src/main/java/de/firemage/autograder/extra/pmd/PMDLinter.java +++ b/autograder-extra/src/main/java/de/firemage/autograder/extra/pmd/PMDLinter.java @@ -9,9 +9,9 @@ import de.firemage.autograder.core.file.UploadedFile; import net.sourceforge.pmd.PMDConfiguration; import net.sourceforge.pmd.PmdAnalysis; -import net.sourceforge.pmd.Rule; -import net.sourceforge.pmd.RulePriority; -import net.sourceforge.pmd.RuleSet; +import net.sourceforge.pmd.lang.rule.Rule; +import net.sourceforge.pmd.lang.rule.RulePriority; +import net.sourceforge.pmd.lang.rule.RuleSet; import net.sourceforge.pmd.lang.Language; import net.sourceforge.pmd.lang.LanguageRegistry; import net.sourceforge.pmd.lang.document.FileCollector; diff --git a/autograder-extra/src/main/java/de/firemage/autograder/extra/pmd/ProblemRenderer.java b/autograder-extra/src/main/java/de/firemage/autograder/extra/pmd/ProblemRenderer.java index 42feb429..524f6086 100644 --- a/autograder-extra/src/main/java/de/firemage/autograder/extra/pmd/ProblemRenderer.java +++ b/autograder-extra/src/main/java/de/firemage/autograder/extra/pmd/ProblemRenderer.java @@ -3,8 +3,8 @@ import de.firemage.autograder.core.Problem; import de.firemage.autograder.core.file.FileSourceInfo; import de.firemage.autograder.core.file.SourceInfo; -import net.sourceforge.pmd.Report; -import net.sourceforge.pmd.RuleViolation; +import net.sourceforge.pmd.reporting.Report; +import net.sourceforge.pmd.reporting.RuleViolation; import net.sourceforge.pmd.renderers.AbstractIncrementingRenderer; import org.apache.commons.io.output.NullWriter; import org.slf4j.Logger;