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:
parent
579a6742f8
commit
8dcde2b0bd
@ -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
|
||||
|
||||
@ -26,6 +26,7 @@
|
||||
</properties>
|
||||
<body>
|
||||
<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="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>
|
||||
|
||||
@ -27,6 +27,14 @@
|
||||
<section name="Checkstyle Settings">
|
||||
<table>
|
||||
<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>
|
||||
<td>maven.checkstyle.includes</td>
|
||||
<td>Yes</td>
|
||||
@ -112,7 +120,7 @@
|
||||
<td>
|
||||
Specifies the cache file used to speed up Checkstyle on
|
||||
successive runs. The default value is
|
||||
<code>${maven.build.dest}/checkstyle-cachefile</code>.
|
||||
<code>${maven.checkstyle.dir}/checkstyle-cachefile</code>.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -142,7 +150,7 @@
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
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>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -150,7 +158,7 @@
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
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>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user