maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Lundberg (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (MCHECKSTYLE-48) regression: report generation doesn't work while dealing with the header file
Date Sat, 02 Feb 2008 23:28:57 GMT

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

Dennis Lundberg closed MCHECKSTYLE-48.
--------------------------------------

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

I have implemented a workaround, as described earlier. Committed in r617926.

> regression: report generation doesn't work while dealing with the header file
> -----------------------------------------------------------------------------
>
>                 Key: MCHECKSTYLE-48
>                 URL: http://jira.codehaus.org/browse/MCHECKSTYLE-48
>             Project: Maven 2.x Checkstyle Plugin
>          Issue Type: Bug
>         Environment: Checkstyle 2.2-SNAPSHOT rev 419829.
>            Reporter: Jerome Lacoste
>            Assignee: Dennis Lundberg
>            Priority: Blocker
>             Fix For: 2.2
>
>         Attachments: mvn.log
>
>
> Configured as is:
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-checkstyle-plugin</artifactId>
>         <configuration>
>           <configLocation>config/maven_checks.xml</configLocation>
>         </configuration>
>       </plugin>
> Checkstyle stopped working. I made a fresh svn update and mvn checkstyle:checkstyle fails
with:
> [...]
> Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException: cannot initialize
module TreeWalker - Cannot set property 'headerFile' in module RegexpHeader to '/home/jerome/Dev/OSS/perso/jar-info/target/checkstyle-header.txt':
line 24 in header specification is not a regular expression
>         at com.puppycrawl.tools.checkstyle.Checker.setupChild(Checker.java:165)
>         at com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticBean.java:209)
>         at org.apache.maven.plugin.checkstyle.CheckstyleReport.executeCheckstyle(CheckstyleReport.java:729)
>         at org.apache.maven.plugin.checkstyle.CheckstyleReport.executeReport(CheckstyleReport.java:490)
> [...]
> Caused by: org.apache.commons.beanutils.ConversionException: line 24 in header specification
is not a regular expression
>         at com.puppycrawl.tools.checkstyle.checks.header.RegexpHeaderCheck.initHeaderRegexps(RegexpHeaderCheck.java:116)
>         at com.puppycrawl.tools.checkstyle.checks.header.RegexpHeaderCheck.setHeaderFile(RegexpHeaderCheck.java:85)
>         ... 34 more
> Full log attached.

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

        

Mime
View raw message