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 2008/02/03 00:00:57 UTC

[jira] Closed: (MCHECKSTYLE-83) Checkstyle report showing a check as Error when it is Warning

     [ http://jira.codehaus.org/browse/MCHECKSTYLE-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg closed MCHECKSTYLE-83.
--------------------------------------

         Assignee: Dennis Lundberg
       Resolution: Fixed
    Fix Version/s: 2.2

I've implemented a fix for this and committed it in r617914.

A new 2.2-SNAPSHOT has been deployed, which includes the fix. Please verify that it works for you.

> Checkstyle report showing a check as Error when it is Warning
> -------------------------------------------------------------
>
>                 Key: MCHECKSTYLE-83
>                 URL: http://jira.codehaus.org/browse/MCHECKSTYLE-83
>             Project: Maven 2.x Checkstyle Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Ben Lidgey
>            Assignee: Dennis Lundberg
>            Priority: Minor
>             Fix For: 2.2
>
>         Attachments: inuk-checks.xml, report.jpg
>
>
> Checkstyle report showing a check as Error when it is Warning.
> The report is attached as a screenshot, together with the custom checks XML.
> The maven output shows the custom file being used:
> [DEBUG]   (f) headerFile = /home/devadmin/data/cruisecontrol/cruisecontrol-bin-2.7.1/projects/InukCommonWSFramework/LICENSE.txt
> [DEBUG]   (f) headerLocation = LICENSE.txt
> [DEBUG]   (f) includes = **/*.java
> [DEBUG]   (f) linkXRef = true
> [DEBUG]   (f) outputDirectory = /home/devadmin/data/cruisecontrol/cruisecontrol-bin-2.7.1/projects/InukCommonWSFramework/target/site
> [DEBUG]   (f) outputFile = /home/devadmin/data/cruisecontrol/cruisecontrol-bin-2.7.1/projects/InukCommonWSFramework/target/checkstyle-result.xml
> [DEBUG]   (f) outputFileFormat = xml
> [DEBUG]   (f) project = org.apache.maven.project.MavenProject@335920fe
> [DEBUG]   (f) sourceDirectory = /home/devadmin/data/cruisecontrol/cruisecontrol-bin-2.7.1/projects/InukCommonWSFramework/src/main/java
> [DEBUG]   (f) xrefLocation = /home/devadmin/data/cruisecontrol/cruisecontrol-bin-2.7.1/projects/InukCommonWSFramework/target/site/xref
> [DEBUG] -- end configuration --
> [INFO] [checkstyle:checkstyle]
> [DEBUG] resolveLocation(/home/devadmin/Tools/EclipseConfig/inuk-checks.xml, checkstyle-checker.xml)
> [DEBUG] Location is not a URL.
> [DEBUG] Potential File: /home/devadmin/Tools/EclipseConfig/inuk-checks.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:/home/devadmin/maven-2.0.7/lib/maven-core-2.0.7-uber.jar!/LICENSE.txt
> [DEBUG] resolveLocation(null, checkstyle-packages.xml)
> [DEBUG] resolveLocation(null, checkstyle-suppressions.xml)

-- 
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