From c714a7da872576a3ad83844c316da58806d852b4 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Sun, 12 Oct 2014 19:50:25 +0200 Subject: [PATCH] Implement clean for generated xdocs --- pmd-java/pom.xml | 17 +++++++++++++++++ pmd-javascript/pom.xml | 24 ++++++++++++++++++++++++ pmd-jsp/pom.xml | 17 +++++++++++++++++ pmd-plsql/pom.xml | 17 +++++++++++++++++ pmd-vm/pom.xml | 17 +++++++++++++++++ pmd-xml/pom.xml | 24 ++++++++++++++++++++++++ pom.xml | 5 ----- 7 files changed, 116 insertions(+), 5 deletions(-) diff --git a/pmd-java/pom.xml b/pmd-java/pom.xml index 179dc226c2..7dfb23c0d1 100644 --- a/pmd-java/pom.xml +++ b/pmd-java/pom.xml @@ -63,6 +63,23 @@ run + + pmd-clean + clean + + + PMD specific tasks: cleaning generated xdocs + + + + + + + + + run + + diff --git a/pmd-javascript/pom.xml b/pmd-javascript/pom.xml index 12295e762c..25fcef6128 100644 --- a/pmd-javascript/pom.xml +++ b/pmd-javascript/pom.xml @@ -50,6 +50,30 @@ + + + org.apache.maven.plugins + maven-antrun-plugin + + + pmd-clean + clean + + + PMD specific tasks: cleaning generated xdocs + + + + + + + + + run + + + + diff --git a/pmd-jsp/pom.xml b/pmd-jsp/pom.xml index 051b8d1fdf..1e01bcf141 100644 --- a/pmd-jsp/pom.xml +++ b/pmd-jsp/pom.xml @@ -52,6 +52,23 @@ run + + pmd-clean + clean + + + PMD specific tasks: cleaning generated xdocs + + + + + + + + + run + + diff --git a/pmd-plsql/pom.xml b/pmd-plsql/pom.xml index e0e22a38a7..cef91e66e6 100644 --- a/pmd-plsql/pom.xml +++ b/pmd-plsql/pom.xml @@ -52,6 +52,23 @@ run + + pmd-clean + clean + + + PMD specific tasks: cleaning generated xdocs + + + + + + + + + run + + diff --git a/pmd-vm/pom.xml b/pmd-vm/pom.xml index 4b73cf54eb..2c256cc9af 100644 --- a/pmd-vm/pom.xml +++ b/pmd-vm/pom.xml @@ -52,6 +52,23 @@ run + + pmd-clean + clean + + + PMD specific tasks: cleaning generated xdocs + + + + + + + + + run + + diff --git a/pmd-xml/pom.xml b/pmd-xml/pom.xml index d860a60141..3dd55ba3f6 100644 --- a/pmd-xml/pom.xml +++ b/pmd-xml/pom.xml @@ -50,6 +50,30 @@ + + + org.apache.maven.plugins + maven-antrun-plugin + + + pmd-clean + clean + + + PMD specific tasks: cleaning generated xdocs + + + + + + + + + run + + + + diff --git a/pom.xml b/pom.xml index 9fe23b9a2c..13c1ca25d9 100644 --- a/pom.xml +++ b/pom.xml @@ -267,11 +267,6 @@ 1.6 UTF-8 - - src/site/xdocs http://pmd.sourceforge.net/snapshot/${project.artifactId} ${basedir}/pmd