Skip to content

Commit 1528f30

Browse files
committed
[MPMD-379] Fix build for Java8
1 parent 193c037 commit 1528f30

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/org/apache/maven/plugins/pmd/AbstractPmdReport.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ public abstract class AbstractPmdReport extends AbstractMavenReport {
202202
* You'd need to start maven with <code>MAVEN_OPTS=-Dorg.slf4j.simpleLogger.log.net.sourceforge.pmd=off mvn &lt;goals&gt;</code>.
203203
*/
204204
@Parameter(defaultValue = "true", property = "pmd.showPmdLog")
205-
@Deprecated(since = "3.22.0", forRemoval = true)
205+
@Deprecated // (since = "3.22.0", forRemoval = true)
206206
protected boolean showPmdLog = true;
207207

208208
/**

src/site/apt/index.apt.vm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ ${project.name}
9696
Logs from PMD are now always shown and cannot be disabled at runtime after maven has started.
9797
The property <<<showPmdLog>>> makes no sense anymore and is deprecated now. See
9898
{{{https://maven.apache.org/maven-logging.html}Maven Logging}} for how to configure logging.
99-
For disabling PMD logs, you'd need to start maven with <<<MAVEN_OPTS=-Dorg.slf4j.simpleLogger.log.net.sourceforge.pmd=off mvn <goals>>>>.
99+
For disabling PMD logs, you'd need to start maven with <<<MAVEN_OPTS=-Dorg.slf4j.simpleLogger.log.net.sourceforge.pmd=off mvn <goals> >>>.
100100

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

0 commit comments

Comments
 (0)