From 5bd3a91a0ff9079ce2613c9c2071f87c4ac17534 Mon Sep 17 00:00:00 2001 From: dion Date: Thu, 29 Jul 2004 14:31:30 +0000 Subject: [PATCH] MPPMD-12. Only run PMD if sources present git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115899 13f79535-47bb-0310-9956-ffa450edef68 --- pmd/plugin.jelly | 49 ++++++++++++++++++++++++------------------- pmd/xdocs/changes.xml | 3 +++ 2 files changed, 31 insertions(+), 21 deletions(-) diff --git a/pmd/plugin.jelly b/pmd/plugin.jelly index 07d64000..fc2fb1b6 100644 --- a/pmd/plugin.jelly +++ b/pmd/plugin.jelly @@ -111,28 +111,35 @@ violated and that causes the report generation to fail later on --> - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - - - - + + + + + No java source files to process. + + @@ -149,7 +156,7 @@ - + diff --git a/pmd/xdocs/changes.xml b/pmd/xdocs/changes.xml index 508c5705..2f54308b 100644 --- a/pmd/xdocs/changes.xml +++ b/pmd/xdocs/changes.xml @@ -25,6 +25,9 @@ Vincent Massol + + Check sources are present before calling PMD. + Upgrade to PMD 1.3, clean up and improve documentation.