From 5ea9e7033a4866d813f713f7607b45513f8dd355 Mon Sep 17 00:00:00 2001 From: Tom Copeland Date: Fri, 5 Sep 2003 14:37:40 +0000 Subject: [PATCH] tweak git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2242 51baf565-9d33-0410-a72c-fc3788e3496d --- pmd/docs.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pmd/docs.sh b/pmd/docs.sh index ee9f103bc8..57ab8db71f 100755 --- a/pmd/docs.sh +++ b/pmd/docs.sh @@ -3,15 +3,15 @@ option="${1}" if [ -z $option ]; then - echo "Generating from pom and transforming xdocs" - maven -b xdoc:generate-from-pom xdoc:transform + echo "Generating from pom, regenerating ruleset docs, and transforming" + maven -b xdoc:generate-from-pom pmd:ruleset-docs xdoc:transform elif [ $option = "all" ]; then echo "Running maven pmd-site" rm -rf target maven pmd-site elif [ $option = "upload" ]; then echo "Generating xdocs and uploading" - maven -b xdoc:transform + maven -b xdoc:generate-from-pom pmd:ruleset-docs xdoc:transform DOCS_FILE=docs.tar.gz cp xdocs/cpdresults.txt xdocs/cpp_cpdresults.txt target/docs/ cd target