Skip to content

Commit 9852025

Browse files
Update dependency net.sourceforge.pmd:pmd-java to v7.14.0 (#501)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [net.sourceforge.pmd:pmd-java](https://pmd.github.io/) ([source](https://redirect.github.com/pmd/pmd)) | `7.0.0-rc3` -> `7.14.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/net.sourceforge.pmd:pmd-java/7.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/net.sourceforge.pmd:pmd-java/7.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/net.sourceforge.pmd:pmd-java/7.0.0-rc3/7.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/net.sourceforge.pmd:pmd-java/7.0.0-rc3/7.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/pixee/codemodder-java). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC41MC4wIiwidXBkYXRlZEluVmVyIjoiNDAuNTAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Arshan Dabirsiaghi <[email protected]>
1 parent f8cc3f0 commit 9852025

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

plugins/codemodder-plugin-pmd/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description = "Plugin to enable the use of PMD in codemods"
88
dependencies {
99
compileOnly(libs.jetbrains.annotations)
1010
implementation(project(":framework:codemodder-base"))
11-
implementation("net.sourceforge.pmd:pmd-java:7.0.0-rc3")
11+
implementation("net.sourceforge.pmd:pmd-java:7.14.0")
1212
testImplementation(testlibs.bundles.junit.jupiter)
1313
testImplementation(testlibs.bundles.hamcrest)
1414
testImplementation(testlibs.assertj)

plugins/codemodder-plugin-pmd/src/main/java/io/codemodder/providers/sarif/pmd/DefaultPmdRunner.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
import java.util.stream.Collectors;
1111
import net.sourceforge.pmd.PMDConfiguration;
1212
import net.sourceforge.pmd.PmdAnalysis;
13-
import net.sourceforge.pmd.RulePriority;
1413
import net.sourceforge.pmd.lang.LanguageRegistry;
14+
import net.sourceforge.pmd.lang.rule.RulePriority;
1515
import net.sourceforge.pmd.renderers.SarifRenderer;
16-
import net.sourceforge.pmd.util.log.MessageReporter;
16+
import net.sourceforge.pmd.util.log.PmdReporter;
1717

1818
final class DefaultPmdRunner implements PmdRunner {
1919

@@ -31,7 +31,7 @@ public SarifSchema210 run(
3131
config.setDefaultLanguageVersion(LanguageRegistry.PMD.getLanguageVersionById("java", null));
3232
config.setMinimumPriority(RulePriority.LOW);
3333
config.setReportFormat(SarifRenderer.NAME);
34-
config.setReporter(MessageReporter.quiet());
34+
config.setReporter(PmdReporter.quiet());
3535

3636
// create the XML that configures the rules to run based on what codemods need
3737
String rulesXmlFormat =

0 commit comments

Comments
 (0)