You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2007/08/15 21:36:47 UTC

[jira] Commented: (MCHECKSTYLE-76) don't check the test code

    [ http://jira.codehaus.org/browse/MCHECKSTYLE-76?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_104942 ] 

Dennis Lundberg commented on MCHECKSTYLE-76:
--------------------------------------------

Are you saying that the checkstyle plugin is *not* checking your test sources? But that you expect it to do so?

Can you please provide a pom.xml that shows us the configuration that you used.

> don't check the test code
> -------------------------
>
>                 Key: MCHECKSTYLE-76
>                 URL: http://jira.codehaus.org/browse/MCHECKSTYLE-76
>             Project: Maven 2.x Checkstyle Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: windos, standar conf projet (juste parent pom)
>            Reporter: kerboriou christophe
>            Priority: Critical
>             Fix For: 2.2
>
>
> the parm for excute checkstyle on test code was at true. and i have this log
> {panel} [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-checkstyle-plugin:2.1:checkstyle' -->
> [DEBUG]   (f) cacheFile = D:\workspaces\workspace\{sous-projet}\target/checkstyle-cachefile
> [DEBUG]   (f) configLocation = http://xxxx/xxxx/xxxx/checkstyle_config.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 = D:\workspaces\workspace\{sous-projet}\LICENSE.txt
> [DEBUG]   (f) headerLocation = LICENSE.txt
> [DEBUG]   (f) includes = **/*.java
> [DEBUG]   (f) linkXRef = true
> [DEBUG]   (f) outputDirectory = D:\workspaces\workspace\{sous-projet}\target\site
> [DEBUG]   (f) outputFile = D:\workspaces\workspace\{sous-projet}\target\checkstyle-result.xml
> [DEBUG]   (f) outputFileFormat = xml
> [DEBUG]   (f) project = org.apache.maven.project.MavenProject@62075285
> [DEBUG]   {color:red} *(f) sourceDirectory = D:\workspaces\workspace\{sous-projet}\src\main\java*{color}
> [DEBUG]   (f) xrefLocation = D:\workspaces\workspace\{sous-projet}\target\site\xref
> [DEBUG] -- end configuration --
> [INFO] [checkstyle:checkstyle]
> [DEBUG] resolveLocation(http://xxxx/xxxx/xxxx/checkstyle_config.xml, checkstyle-checker.xml)
> [DEBUG] Potential URL: http://xxxx/xxxx/xxxx/checkstyle_config.xml
> [DEBUG] resolveLocation(null, checkstyle-checker.properties)
> [DEBUG] resolveLocation(LICENSE.txt, checkstyle-header.txt)
> [DEBUG] Location is not a URL.
> [DEBUG] Location is not a File.
> [DEBUG] Potential Resource: jar:file:/C:/dev/maven/bin/../lib/jsch-0.1.24.jar!/LICENSE.txt
> [DEBUG] resolveLocation(null, checkstyle-packages.xml)
> [DEBUG] resolveLocation(null, checkstyle-suppressions.xml)
> [DEBUG] File D:\workspaces\workspace\{sous-projet}\target\site/checkstyle.rss created...{panel}
> the src/test/java wasn't use.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira