You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/09/16 04:12:03 UTC

[jira] Closed: (MNG-839) Checkstyle plugin fails with default parameters

     [ http://jira.codehaus.org/browse/MNG-839?page=all ]
     
Brett Porter closed MNG-839:
----------------------------

      Assign To: Vincent Siveton
     Resolution: Fixed
    Fix Version: 2.0-beta-1

fixed in r279769

> Checkstyle plugin fails with default parameters
> -----------------------------------------------
>
>          Key: MNG-839
>          URL: http://jira.codehaus.org/browse/MNG-839
>      Project: Maven 2
>         Type: Bug
>   Components: maven-checkstyle-plugin
>     Versions: 2.0-beta-1
>  Environment: SVN revision 279038 on Linux
>     Reporter: Bob Allison
>     Assignee: Vincent Siveton
>      Fix For: 2.0-beta-1
>  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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org