PR: MPPMD-19
Submitted by: Wim Deblauwe Reviewed by: aheritier Java language level not settable through plugin git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@374779 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
754ee15ce8
commit
7911b3d832
@ -118,7 +118,8 @@
|
||||
rulesetfiles="${maven.pmd.rulesetfiles}"
|
||||
printToConsole="${maven.pmd.console}"
|
||||
failonerror="${maven.pmd.failonerror}"
|
||||
failOnRuleViolation="${maven.pmd.failonruleviolation}">
|
||||
failOnRuleViolation="${maven.pmd.failonruleviolation}"
|
||||
targetjdk="${maven.pmd.targetjdk}">
|
||||
<formatter type="xml" toFile="${maven.build.dir}/pmd-raw-report.xml"/>
|
||||
<fileset dir="${pom.build.sourceDirectory}"
|
||||
includes="${maven.pmd.includes}"
|
||||
|
||||
@ -48,4 +48,7 @@ maven.pmd.console = false
|
||||
|
||||
# Fail the build ?
|
||||
maven.pmd.failonerror = false
|
||||
maven.pmd.failonruleviolation = false
|
||||
maven.pmd.failonruleviolation = false
|
||||
|
||||
# JDK target
|
||||
maven.pmd.targetjdk = ${maven.compile.source}
|
||||
@ -25,6 +25,7 @@
|
||||
</properties>
|
||||
<body>
|
||||
<release version="1.8-SNAPSHOT" date="In SVN">
|
||||
<action dev="aheritier" type="add" issue="MPPMD-19" due-to="Wim Deblauwe">New property "maven.pmd.targetjdk" to define the target JDK.</action>
|
||||
<action dev="aheritier" type="add">Add a link on each error to explain it.</action>
|
||||
<action dev="aheritier" type="add" issue="MPPMD-21">New properties "maven.pmd.failonerror" and "maven.pmd.failonruleviolation" to fail the build if any errors or problems are found.</action>
|
||||
<action dev="aheritier" type="add" issue="MPPMD-13">New property "maven.pmd.console" to display pmd errors to the console.</action>
|
||||
|
||||
@ -115,6 +115,13 @@
|
||||
Whether or not to fail the build if PMD finds any problems. Defaults to false.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.pmd.targetjdk</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
Target JDK 1.3, 1.4, or 1.5.. Defaults to ${maven.compile.source}.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</section>
|
||||
</body>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user