You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Felix Röthenbacher (JIRA)" <ji...@codehaus.org> on 2010/03/09 03:59:55 UTC

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

suppressionsFileExpression does not work - cannot initialize module SuppressionFilter
-------------------------------------------------------------------------------------

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


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>
              <suppressionsFileExpression>checkstyle.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>
              <suppressionsFileExpression>checkstyle.suppressions.file.donothing</suppressionsFileExpression>
              <propertyExpansion>checkstyle.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 contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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

Posted by "Felix Röthenbacher (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MCHECKSTYLE-134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Röthenbacher updated MCHECKSTYLE-134:
-------------------------------------------

    Attachment: MCHECKSTYLE-134.diff.txt

Patch for MCHECKSTYLE-134.

> suppressionsFileExpression does not work - cannot initialize module SuppressionFilter
> -------------------------------------------------------------------------------------
>
>                 Key: MCHECKSTYLE-134
>                 URL: http://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>
>               <suppressionsFileExpression>checkstyle.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>
>               <suppressionsFileExpression>checkstyle.suppressions.file.donothing</suppressionsFileExpression>
>               <propertyExpansion>checkstyle.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 contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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

Posted by "Ahmed Ashour (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHECKSTYLE-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=243945#action_243945 ] 

Ahmed Ashour commented on MCHECKSTYLE-134:
------------------------------------------

I am amazed this is not resolved yet, this bug prevents moving from 2.4 to any newer version.

> suppressionsFileExpression does not work - cannot initialize module SuppressionFilter
> -------------------------------------------------------------------------------------
>
>                 Key: MCHECKSTYLE-134
>                 URL: http://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>
>               <suppressionsFileExpression>checkstyle.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>
>               <suppressionsFileExpression>checkstyle.suppressions.file.donothing</suppressionsFileExpression>
>               <propertyExpansion>checkstyle.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 contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHECKSTYLE-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=213138#action_213138 ] 

Olivier Lamy commented on MCHECKSTYLE-134:
------------------------------------------

Hi,
Could you please provide a sample project ?

> suppressionsFileExpression does not work - cannot initialize module SuppressionFilter
> -------------------------------------------------------------------------------------
>
>                 Key: MCHECKSTYLE-134
>                 URL: http://jira.codehaus.org/browse/MCHECKSTYLE-134
>             Project: Maven 2.x Checkstyle Plugin
>          Issue Type: Bug
>    Affects Versions: 2.5
>            Reporter: Felix Röthenbacher
>
> 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>
>               <suppressionsFileExpression>checkstyle.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>
>               <suppressionsFileExpression>checkstyle.suppressions.file.donothing</suppressionsFileExpression>
>               <propertyExpansion>checkstyle.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 contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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

Posted by "Savas Ali Tokmen (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHECKSTYLE-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=250875#action_250875 ] 

Savas Ali Tokmen edited comment on MCHECKSTYLE-134 at 1/8/11 9:56 AM:
----------------------------------------------------------------------

Thank you for the workaround.

BTW, why isn't the patch applied yet?

      was (Author: alitokmen):
    Thank you for the workaround
  
> suppressionsFileExpression does not work - cannot initialize module SuppressionFilter
> -------------------------------------------------------------------------------------
>
>                 Key: MCHECKSTYLE-134
>                 URL: http://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>
>               <suppressionsFileExpression>checkstyle.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>
>               <suppressionsFileExpression>checkstyle.suppressions.file.donothing</suppressionsFileExpression>
>               <propertyExpansion>checkstyle.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 contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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

Posted by "Savas Ali Tokmen (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHECKSTYLE-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=250875#action_250875 ] 

Savas Ali Tokmen commented on MCHECKSTYLE-134:
----------------------------------------------

Thank you for the workaround

> suppressionsFileExpression does not work - cannot initialize module SuppressionFilter
> -------------------------------------------------------------------------------------
>
>                 Key: MCHECKSTYLE-134
>                 URL: http://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>
>               <suppressionsFileExpression>checkstyle.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>
>               <suppressionsFileExpression>checkstyle.suppressions.file.donothing</suppressionsFileExpression>
>               <propertyExpansion>checkstyle.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 contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ 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>
>               <suppressionsFileExpression>checkstyle.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>
>               <suppressionsFileExpression>checkstyle.suppressions.file.donothing</suppressionsFileExpression>
>               <propertyExpansion>checkstyle.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

Posted by "Sergei Ivanov (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MCHECKSTYLE-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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>
>               <suppressionsFileExpression>checkstyle.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>
>               <suppressionsFileExpression>checkstyle.suppressions.file.donothing</suppressionsFileExpression>
>               <propertyExpansion>checkstyle.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] Commented: (MCHECKSTYLE-134) suppressionsFileExpression does not work - cannot initialize module SuppressionFilter

Posted by "Felix Röthenbacher (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHECKSTYLE-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=213248#action_213248 ] 

Felix Röthenbacher commented on MCHECKSTYLE-134:
------------------------------------------------

The bug is in class DefaultCheckstyleExecutor in method

private Properties getOverridingProperties( CheckstyleExecutorRequest request )

<...>

        if ( request.getSuppressionsFileExpression() != null )
        {
            String suppresionFile = request.getSuppressionsFileExpression();

            if ( suppresionFile != null )
            {
                p.setProperty( request.getSuppressionsFileExpression(), suppresionFile );
            }
        }

<...>

This should be

            String suppressionFile = request.getSuppressionsLocation();

            if ( suppressionFile != null )
            {
                p.setProperty( request.getSuppressionsFileExpression(), suppressionFile );
            }


> suppressionsFileExpression does not work - cannot initialize module SuppressionFilter
> -------------------------------------------------------------------------------------
>
>                 Key: MCHECKSTYLE-134
>                 URL: http://jira.codehaus.org/browse/MCHECKSTYLE-134
>             Project: Maven 2.x Checkstyle Plugin
>          Issue Type: Bug
>    Affects Versions: 2.5
>            Reporter: Felix Röthenbacher
>
> 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>
>               <suppressionsFileExpression>checkstyle.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>
>               <suppressionsFileExpression>checkstyle.suppressions.file.donothing</suppressionsFileExpression>
>               <propertyExpansion>checkstyle.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 contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHECKSTYLE-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=213251#action_213251 ] 

Olivier Lamy commented on MCHECKSTYLE-134:
------------------------------------------

Ok but could you provide :
* a patch 
* a sample project to prevent regression in the future

Thanks

> suppressionsFileExpression does not work - cannot initialize module SuppressionFilter
> -------------------------------------------------------------------------------------
>
>                 Key: MCHECKSTYLE-134
>                 URL: http://jira.codehaus.org/browse/MCHECKSTYLE-134
>             Project: Maven 2.x Checkstyle Plugin
>          Issue Type: Bug
>    Affects Versions: 2.5
>            Reporter: Felix Röthenbacher
>
> 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>
>               <suppressionsFileExpression>checkstyle.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>
>               <suppressionsFileExpression>checkstyle.suppressions.file.donothing</suppressionsFileExpression>
>               <propertyExpansion>checkstyle.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 contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira