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
This commit is contained in:
carlos 2005-09-30 00:31:17 +00:00
parent 579a6742f8
commit 8dcde2b0bd
3 changed files with 16 additions and 6 deletions

View File

@ -20,10 +20,11 @@
# Checkstyle plugin # Checkstyle plugin
# ------------------------------------------------------------------- # -------------------------------------------------------------------
maven.checkstyle.dir = ${maven.build.dir}/checkstyle
maven.checkstyle.includes = **/*.java maven.checkstyle.includes = **/*.java
maven.checkstyle.excludes = maven.checkstyle.excludes =
maven.checkstyle.fail.on.violation = false 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.format = sun
maven.checkstyle.header.file = ${basedir}/LICENSE.txt maven.checkstyle.header.file = ${basedir}/LICENSE.txt
maven.checkstyle.check.tests=true maven.checkstyle.check.tests=true
@ -33,5 +34,5 @@ maven.checkstyle.check.tests=true
maven.checkstyle.usefile = true maven.checkstyle.usefile = true
# Output files # Output files
maven.checkstyle.output.xml=${maven.build.dir}/checkstyle-raw-report.xml maven.checkstyle.output.xml = ${maven.checkstyle.dir}/checkstyle-raw-report.xml
maven.checkstyle.output.txt=${maven.build.dir}/checkstyle-raw-report.txt maven.checkstyle.output.txt = ${maven.checkstyle.dir}/checkstyle-raw-report.txt

View File

@ -26,6 +26,7 @@
</properties> </properties>
<body> <body>
<release version="3.0-SNAPSHOT" date="in SVN"> <release version="3.0-SNAPSHOT" date="in SVN">
<action dev="carlos" type="update">Added maven.checkstyle.dir and move output files there.</action>
<action dev="carlos" type="add">Added properties maven.checkstyle.output.xml and maven.checkstyle.output.txt</action> <action dev="carlos" type="add">Added properties maven.checkstyle.output.xml and maven.checkstyle.output.txt</action>
<action dev="aheritier" type="update">It requires at least maven-plugin-plugin v1.7.</action> <action dev="aheritier" type="update">It requires at least maven-plugin-plugin v1.7.</action>
<action dev="aheritier" type="update">It requires at least maven-xdoc-plugin v1.10.</action> <action dev="aheritier" type="update">It requires at least maven-xdoc-plugin v1.10.</action>

View File

@ -27,6 +27,14 @@
<section name="Checkstyle Settings"> <section name="Checkstyle Settings">
<table> <table>
<tr><th>Property</th><th>Optional?</th><th>Description</th></tr> <tr><th>Property</th><th>Optional?</th><th>Description</th></tr>
<tr>
<td>maven.checkstyle.dir</td>
<td>Yes</td>
<td>
Output directory for output checkstyle files
Default <code>${maven.build.dir}/checkstyle</code>.
</td>
</tr>
<tr> <tr>
<td>maven.checkstyle.includes</td> <td>maven.checkstyle.includes</td>
<td>Yes</td> <td>Yes</td>
@ -112,7 +120,7 @@
<td> <td>
Specifies the cache file used to speed up Checkstyle on Specifies the cache file used to speed up Checkstyle on
successive runs. The default value is successive runs. The default value is
<code>${maven.build.dest}/checkstyle-cachefile</code>. <code>${maven.checkstyle.dir}/checkstyle-cachefile</code>.
</td> </td>
</tr> </tr>
<tr> <tr>
@ -142,7 +150,7 @@
<td>Yes</td> <td>Yes</td>
<td> <td>
Output file where the xml report is written. Output file where the xml report is written.
Defaults to <code>${maven.build.dir}/checkstyle-raw-report.xml</code>. Defaults to <code>${maven.checkstyle.dir}/checkstyle-raw-report.xml</code>.
</td> </td>
</tr> </tr>
<tr> <tr>
@ -150,7 +158,7 @@
<td>Yes</td> <td>Yes</td>
<td> <td>
Output file where the txt report is written. Output file where the txt report is written.
Defaults to <code>${maven.build.dir}/checkstyle-raw-report.txt</code>. Defaults to <code>${maven.checkstyle.dir}/checkstyle-raw-report.txt</code>.
</td> </td>
</tr> </tr>
</table> </table>