[ http://jira.codehaus.org/browse/MCHECKSTYLE-4?page=all ]

Jason van Zyl moved MNG-839 to MCHECKSTYLE-4:
---------------------------------------------

        Version:     (was: 2.0-beta-1)
    Fix Version:     (was: 2.0-beta-1)
      Component:     (was: maven-checkstyle-plugin)
       Workflow: jira  (was: Maven)
            Key: MCHECKSTYLE-4  (was: MNG-839)
        Project: Maven 2.x Checkstyle Plugin  (was: Maven 2)

> Checkstyle plugin fails with default parameters
> -----------------------------------------------
>
>          Key: MCHECKSTYLE-4
>          URL: http://jira.codehaus.org/browse/MCHECKSTYLE-4
>      Project: Maven 2.x Checkstyle Plugin
>         Type: Bug

>  Environment: SVN revision 279038 on Linux
>     Reporter: Bob Allison
>     Assignee: Vincent Siveton
>  Attachments: CheckstyleReport.diff
>
>
> After updating from revision 278582, the checkstyle plugin fails with the 
> following:
> Caused by: org.apache.maven.reporting.MavenReportException: Invalid 
> configuration file format: sun
>         at 
> org.apache.maven.plugin.checkstyle.CheckstyleReport.getConfigFile()Ljava.lang.String;(CheckstyleReport.java:430)
>         at 
> org.apache.maven.plugin.checkstyle.CheckstyleReport.executeReport(Ljava.util.Locale;)V(CheckstyleReport.java:239)
>         at 
> org.apache.maven.reporting.AbstractMavenReport.generate(Lorg.codehaus.doxia.sink.Sink;Ljava.util.Locale;)V(AbstractMavenReport.java:117)
>         at 
> org.apache.maven.doxia.DoxiaMojo.generateReportsPages(Ljava.util.List;Ljava.util.Locale;Ljava.io.File;)V(DoxiaMojo.java:744)
>         at org.apache.maven.doxia.DoxiaMojo.execute()V(DoxiaMojo.java:325)
> The attached patch corrects an error in CheckstyleReport which is checking 
> for a null string rather than for "sun"

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to