Skip to content

Commit

Permalink
[MPMD-379] Fix build for Java8
Browse files Browse the repository at this point in the history
  • Loading branch information
adangel committed Apr 5, 2024
1 parent 193c037 commit 1528f30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public abstract class AbstractPmdReport extends AbstractMavenReport {
* You'd need to start maven with <code>MAVEN_OPTS=-Dorg.slf4j.simpleLogger.log.net.sourceforge.pmd=off mvn &lt;goals&gt;</code>.
*/
@Parameter(defaultValue = "true", property = "pmd.showPmdLog")
@Deprecated(since = "3.22.0", forRemoval = true)
@Deprecated // (since = "3.22.0", forRemoval = true)
protected boolean showPmdLog = true;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/site/apt/index.apt.vm
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ ${project.name}
Logs from PMD are now always shown and cannot be disabled at runtime after maven has started.
The property <<<showPmdLog>>> makes no sense anymore and is deprecated now. See
{{{https://maven.apache.org/maven-logging.html}Maven Logging}} for how to configure logging.
For disabling PMD logs, you'd need to start maven with <<<MAVEN_OPTS=-Dorg.slf4j.simpleLogger.log.net.sourceforge.pmd=off mvn <goals>>>>.
For disabling PMD logs, you'd need to start maven with <<<MAVEN_OPTS=-Dorg.slf4j.simpleLogger.log.net.sourceforge.pmd=off mvn <goals> >>>.

* The upgrade from PMD 6 to PMD 7.0.0 is a major version change. If you use the default ruleset
from Maven PMD Plugin, then everything should just work. But if you use a custom ruleset, you
Expand Down

0 comments on commit 1528f30

Please sign in to comment.