supressionsFileExpression does not work.
----------------------------------------
Key: MCHECKSTYLE-149
URL: http://jira.codehaus.org/browse/MCHECKSTYLE-149
Project: Maven 2.x Checkstyle Plugin
Issue Type: Bug
Affects Versions: 2.6
Reporter: Idcmp
In DefaultCheckstyleExecutor.getOverridingProperties() there is the following:
{code:java}
if ( request.getSuppressionsFileExpression() != null )
{
String suppresionFile = request.getSuppressionsFileExpression();
if ( suppresionFile != null )
{
p.setProperty( request.getSuppressionsFileExpression(),
suppresionFile );
}
}
{code}
Note how supressionFile is being set to the *expression*, not the *file*. This
one line should read:
{code:java}
String suppresionFile = request.getSuppressionsLocation();
{code}
This bug is blocking the m2e-checkstyle plugin from supporting Maven-driven
suppression files.
--
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