When I use mvn -X checkstyle:checkstyle, found config suspicious:
...
[DEBUG] Configuring mojo '
org.apache.maven.plugins:maven-checkstyle-plugin:2.1:checkstyle' -->
[DEBUG]   (f) cacheFile =
C:\scm_work\nova\trunk\maven\target/checkstyle-cachefile
[DEBUG]   (f) configLocation = config/sun_checks.xml
[DEBUG]   (f) consoleOutput = false
[DEBUG]   (f) enableFilesSummary = true
[DEBUG]   (f) enableRSS = true
[DEBUG]   (f) enableRulesSummary = true
[DEBUG]   (f) enableSeveritySummary = true
[DEBUG]   (f) failsOnError = false
[DEBUG]   (f) format = sun
[DEBUG]   (f) headerFile = C:\scm_work\nova\trunk\maven\LICENSE.txt
[DEBUG]   (f) headerLocation = LICENSE.txt
[DEBUG]   (f) includes = **/*.java
[DEBUG]   (f) linkXRef = true
[DEBUG]   (f) outputDirectory = C:\scm_work\nova\trunk\maven\target\site
[DEBUG]   (f) outputFile = C:\scm_work\nova\trunk\maven\target\checkstyle-
result.xml
[DEBUG]   (f) outputFileFormat = xml
[DEBUG]   (f) project = [EMAIL PROTECTED]
[DEBUG]   (f) sourceDirectory = C:\scm_work\nova\trunk\maven\src\main\java
[DEBUG]   (f) xrefLocation = C:\scm_work\nova\trunk\maven\target\site\xref
[DEBUG] -- end configuration --
...

Why:
headerFile = C:\scm_work\nova\trunk\maven\LICENSE.txt
headerLocation = LICENSE.txt

I DO NOT set headerFile & headerLocation ! when I delete
C:\scm_work\nova\trunk\maven\LICENSE.txt, all is ok.

2006/6/23, Carlos Sanchez <[EMAIL PROTECTED]>:

You can check the output of -X, but i think it's just that file
doesn't exist. IIRC is config/sun_checks.xml

Reply via email to