git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4397 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Tom Copeland
2006-05-31 13:44:52 +00:00
parent 2b03551dc4
commit 14b55c377a
3 changed files with 15 additions and 10 deletions

View File

@ -4,24 +4,27 @@ option="${1}"
if [ -z $option ]; then
echo "Generating from pom, regenerating ruleset docs, and transforming"
maven pmd:rulesets-index xdoc:generate-from-pom
maven -qb pmd:rulesets-index xdoc:generate-from-pom
`./munge_rulesets.rb`
maven pmd:ruleset-docs
maven -qb pmd:ruleset-docs
rm -f rulesets/*.xml
cvs -q up rulesets
maven xdoc:transform
maven -qb xdoc:transform
elif [ $option = "all" ]; then
echo "Running maven site"
rm -rf target
maven -qb site
elif [ $option = "uploadcurrent" ]; then
echo "Generating xdocs and uploading"
maven pmd:rulesets-index xdoc:generate-from-pom
`./munge_rulesets.rb`
maven pmd:ruleset-docs
maven -qb site
rm -f rulesets/*.xml
cvs -q up rulesets
maven xdoc:transform
elif [ $option = "uploadcurrent" ]; then
echo "Generating xdocs and uploading"
maven -qb pmd:rulesets-index xdoc:generate-from-pom
`./munge_rulesets.rb`
maven -qb pmd:ruleset-docs
rm -f rulesets/*.xml
cvs -q up rulesets
maven -qb xdoc:transform
DOCS_FILE=docs.tar.gz
cp xdocs/cpdresults.txt xdocs/cpp_cpdresults.txt target/docs/
cd target

View File

@ -1,3 +1,5 @@
????, 2006 - 3.8:
June 1, 2006 - 3.7:
New rules:
Basic-JSP ruleset: DuplicateJspImport

View File

@ -50,7 +50,7 @@
<distributionDirectory>/home/groups/p/pm/pmd/</distributionDirectory>
<repository>
<connection>scm:cvs:pserver:anonymous@cvs.sourceforge.net:/cvsroot/pmd:pmd</connection>
<connection>scm:cvs:pserver:anonymous@pmd.cvs.sourceforge.net:/cvsroot/pmd:pmd</connection>
<developerConnection>scm:cvs:ext:username@cvs.sourceforge.net:/cvsroot/pmd:pmd</developerConnection>
<url>http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/pmd/</url>
</repository>