[jira] (MCHECKSTYLE-134) suppressionsFileExpression does not work - cannot initialize module SuppressionFilter

2012-02-02 Thread Dennis Lundberg (JIRA)

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

Dennis Lundberg closed MCHECKSTYLE-134.
---

Resolution: Duplicate

 suppressionsFileExpression does not work - cannot initialize module 
 SuppressionFilter
 -

 Key: MCHECKSTYLE-134
 URL: https://jira.codehaus.org/browse/MCHECKSTYLE-134
 Project: Maven 2.x Checkstyle Plugin
  Issue Type: Bug
Affects Versions: 2.5
Reporter: Felix Röthenbacher
 Attachments: MCHECKSTYLE-134.diff.txt


 Setting the checkstyle.suppressions.file property through 
 suppressionsFileExpression doesn't work:
 configuration
   
 configLocation${project.build.directory}/checkstyle/checkstyle.xml/configLocation
   
 suppressionsLocation${project.build.directory}/checkstyle/checkstyle-suppressions.xml/suppressionsLocation
   
 suppressionsFileExpressioncheckstyle.suppressions.file/suppressionsFileExpression
 /configuration
 Output:
 [INFO] Failed during checkstyle configuration 
   

 Embedded error: cannot initialize module SuppressionFilter - Cannot set 
 property 'file' in module SuppressionFilter to 
 'checkstyle.suppressions.file': unable to find checkstyle.suppressions.file
 checkstyle.suppressions.file (No such file or directory)
 -
 Workaround:
 Using a different property name for suppressionsFileExpression and setting 
 property manually works though:
 configuration
   
 configLocation${project.build.directory}/checkstyle/checkstyle.xml/configLocation
   
 suppressionsLocation${project.build.directory}/checkstyle/checkstyle-suppressions.xml/suppressionsLocation
   
 suppressionsFileExpressioncheckstyle.suppressions.file.donothing/suppressionsFileExpression
   
 propertyExpansioncheckstyle.suppressions.file=${project.build.directory}/checkstyle/checkstyle-suppressions.xml/propertyExpansion
 /configuration

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] (MCHECKSTYLE-134) suppressionsFileExpression does not work - cannot initialize module SuppressionFilter

2011-12-13 Thread Sergei Ivanov (JIRA)

[ 
https://jira.codehaus.org/browse/MCHECKSTYLE-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=285776#comment-285776
 ] 

Sergei Ivanov commented on MCHECKSTYLE-134:
---

I suspect it has been fixed by MCHECKSTYLE-149.

 suppressionsFileExpression does not work - cannot initialize module 
 SuppressionFilter
 -

 Key: MCHECKSTYLE-134
 URL: https://jira.codehaus.org/browse/MCHECKSTYLE-134
 Project: Maven 2.x Checkstyle Plugin
  Issue Type: Bug
Affects Versions: 2.5
Reporter: Felix Röthenbacher
 Attachments: MCHECKSTYLE-134.diff.txt


 Setting the checkstyle.suppressions.file property through 
 suppressionsFileExpression doesn't work:
 configuration
   
 configLocation${project.build.directory}/checkstyle/checkstyle.xml/configLocation
   
 suppressionsLocation${project.build.directory}/checkstyle/checkstyle-suppressions.xml/suppressionsLocation
   
 suppressionsFileExpressioncheckstyle.suppressions.file/suppressionsFileExpression
 /configuration
 Output:
 [INFO] Failed during checkstyle configuration 
   

 Embedded error: cannot initialize module SuppressionFilter - Cannot set 
 property 'file' in module SuppressionFilter to 
 'checkstyle.suppressions.file': unable to find checkstyle.suppressions.file
 checkstyle.suppressions.file (No such file or directory)
 -
 Workaround:
 Using a different property name for suppressionsFileExpression and setting 
 property manually works though:
 configuration
   
 configLocation${project.build.directory}/checkstyle/checkstyle.xml/configLocation
   
 suppressionsLocation${project.build.directory}/checkstyle/checkstyle-suppressions.xml/suppressionsLocation
   
 suppressionsFileExpressioncheckstyle.suppressions.file.donothing/suppressionsFileExpression
   
 propertyExpansioncheckstyle.suppressions.file=${project.build.directory}/checkstyle/checkstyle-suppressions.xml/propertyExpansion
 /configuration

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira