[ http://jira.codehaus.org/browse/MCHECKSTYLE-76?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_104984 ]
kerboriou christophe commented on MCHECKSTYLE-76: ------------------------------------------------- {code} <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <configuration> <outputFileFormat>xml</outputFileFormat> <includeTestSourceDirectory> true </includeTestSourceDirectory> <configLocation> http://xxxx/xxxx/xxxx/checkstyle_config.xml </configLocation> </configuration> </plugin>{code} > 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 = [EMAIL PROTECTED] > [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