From 8dcde2b0bd9374c0835a8c6ae504ee11c81a8bcf Mon Sep 17 00:00:00 2001 From: carlos Date: Fri, 30 Sep 2005 00:31:17 +0000 Subject: [PATCH] Added maven.checkstyle.dir and move output files there. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@292588 13f79535-47bb-0310-9956-ffa450edef68 --- checkstyle/plugin.properties | 7 ++++--- checkstyle/xdocs/changes.xml | 1 + checkstyle/xdocs/properties.xml | 14 +++++++++++--- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/checkstyle/plugin.properties b/checkstyle/plugin.properties index 600a418e..11a9a394 100644 --- a/checkstyle/plugin.properties +++ b/checkstyle/plugin.properties @@ -20,10 +20,11 @@ # Checkstyle plugin # ------------------------------------------------------------------- +maven.checkstyle.dir = ${maven.build.dir}/checkstyle maven.checkstyle.includes = **/*.java maven.checkstyle.excludes = maven.checkstyle.fail.on.violation = false -maven.checkstyle.cache.file = ${maven.build.dir}/checkstyle-cachefile +maven.checkstyle.cache.file = ${maven.checkstyle.dir}/checkstyle-cachefile maven.checkstyle.format = sun maven.checkstyle.header.file = ${basedir}/LICENSE.txt maven.checkstyle.check.tests=true @@ -33,5 +34,5 @@ maven.checkstyle.check.tests=true maven.checkstyle.usefile = true # Output files -maven.checkstyle.output.xml=${maven.build.dir}/checkstyle-raw-report.xml -maven.checkstyle.output.txt=${maven.build.dir}/checkstyle-raw-report.txt +maven.checkstyle.output.xml = ${maven.checkstyle.dir}/checkstyle-raw-report.xml +maven.checkstyle.output.txt = ${maven.checkstyle.dir}/checkstyle-raw-report.txt diff --git a/checkstyle/xdocs/changes.xml b/checkstyle/xdocs/changes.xml index 11b4e53c..43777f56 100644 --- a/checkstyle/xdocs/changes.xml +++ b/checkstyle/xdocs/changes.xml @@ -26,6 +26,7 @@ + Added maven.checkstyle.dir and move output files there. Added properties maven.checkstyle.output.xml and maven.checkstyle.output.txt It requires at least maven-plugin-plugin v1.7. It requires at least maven-xdoc-plugin v1.10. diff --git a/checkstyle/xdocs/properties.xml b/checkstyle/xdocs/properties.xml index c4c97fad..8b0aa188 100644 --- a/checkstyle/xdocs/properties.xml +++ b/checkstyle/xdocs/properties.xml @@ -27,6 +27,14 @@
+ + + + + @@ -112,7 +120,7 @@ @@ -142,7 +150,7 @@ @@ -150,7 +158,7 @@
PropertyOptional?Description
maven.checkstyle.dirYes + Output directory for output checkstyle files + Default ${maven.build.dir}/checkstyle. +
maven.checkstyle.includes Yes Specifies the cache file used to speed up Checkstyle on successive runs. The default value is - ${maven.build.dest}/checkstyle-cachefile. + ${maven.checkstyle.dir}/checkstyle-cachefile.
Yes Output file where the xml report is written. - Defaults to ${maven.build.dir}/checkstyle-raw-report.xml. + Defaults to ${maven.checkstyle.dir}/checkstyle-raw-report.xml.
Yes Output file where the txt report is written. - Defaults to ${maven.build.dir}/checkstyle-raw-report.txt. + Defaults to ${maven.checkstyle.dir}/checkstyle-raw-report.txt.