From 6c9468d1c758531bed9f2e54661ece50a5d36ba6 Mon Sep 17 00:00:00 2001 From: aheritier Date: Fri, 3 Feb 2006 22:38:32 +0000 Subject: [PATCH] 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 --- pmd/plugin.jelly | 2 +- pmd/plugin.properties | 5 ++++- pmd/xdocs/changes.xml | 1 + pmd/xdocs/properties.xml | 7 +++++++ 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/pmd/plugin.jelly b/pmd/plugin.jelly index ff025c45..6ebfc1c6 100644 --- a/pmd/plugin.jelly +++ b/pmd/plugin.jelly @@ -114,7 +114,7 @@ - + + New property "maven.pmd.console" to display pmd errors to the console. Do not generate links to JXR files if they are not created. Use properties maven.jxr.destdir and maven.jxr.destdir.test to generate links from the PMD report to jxr files. Fix NullPointerException if pom.build.sourceDirectory or pom.build.unitTestSourceDirectory are not defined. diff --git a/pmd/xdocs/properties.xml b/pmd/xdocs/properties.xml index 6ef8a7c2..3b124fc8 100644 --- a/pmd/xdocs/properties.xml +++ b/pmd/xdocs/properties.xml @@ -94,6 +94,13 @@ Whether or not to run PMD on test sources. Defaults to true. + + maven.pmd.console + Yes + + Whether or not to display PMD errors to the console. Defaults to false. + +