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