forked from phoedos/pmd
post rls
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4397 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
21
pmd/docs.sh
21
pmd/docs.sh
@ -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
|
||||
|
@ -1,3 +1,5 @@
|
||||
????, 2006 - 3.8:
|
||||
|
||||
June 1, 2006 - 3.7:
|
||||
New rules:
|
||||
Basic-JSP ruleset: DuplicateJspImport
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user