MPPMD-13 : New property "maven.pmd.console" to display pmd errors to the console.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@374767 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
aheritier committed 2006-02-03 22:38:32 +00:00
1 parent af140c09af
commit 6c9468d1c7
4 files changed
+13 -2

No files matched your search

+1 -1
View File
@@ -114,7 +114,7 @@
<j:choose>
<j:when test="${sourcesPresent == 'true'}">
<pmd rulesetfiles="${maven.pmd.rulesetfiles}">
<pmd rulesetfiles="${maven.pmd.rulesetfiles}" printToConsole="${maven.pmd.console}">
<formatter type="xml" toFile="${maven.build.dir}/pmd-raw-report.xml"/>
<fileset dir="${pom.build.sourceDirectory}"
includes="${maven.pmd.includes}"
+4 -1
View File
@@ -41,4 +41,7 @@ maven.pmd.cpd.enable = false
maven.pmd.cpd.minimumtokencount = 100
# whether or not to run PMD on test files
maven.pmd.check.tests = true
maven.pmd.check.tests = true
# Print the output to the console
maven.pmd.console = false
+1
View File
@@ -25,6 +25,7 @@
</properties>
<body>
<release version="1.8-SNAPSHOT" date="In SVN">
<action dev="aheritier" type="add" issue="MPPMD-13">New property "maven.pmd.console" to display pmd errors to the console.</action>
<action dev="aheritier" type="fix">Do not generate links to JXR files if they are not created.</action>
<action dev="aheritier" type="update">Use properties maven.jxr.destdir and maven.jxr.destdir.test to generate links from the PMD report to jxr files.</action>
<action dev="aheritier" type="fix">Fix NullPointerException if pom.build.sourceDirectory or pom.build.unitTestSourceDirectory are not defined.</action>
+7
View File
@@ -94,6 +94,13 @@
Whether or not to run PMD on test sources. Defaults to true.
</td>
</tr>
<tr>
<td>maven.pmd.console</td>
<td>Yes</td>
<td>
Whether or not to display PMD errors to the console. Defaults to false.
</td>
</tr>
</table>
</section>
</body>