Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.6
-
Fix Version/s: 2.7
-
Labels:None
-
Patch Submitted:Yes
-
Number of attachments :
Description
In DefaultCheckstyleExecutor.getOverridingProperties() there is the following:
if ( request.getSuppressionsFileExpression() != null ) { String suppresionFile = request.getSuppressionsFileExpression(); if ( suppresionFile != null ) { p.setProperty( request.getSuppressionsFileExpression(), suppresionFile ); } }
Note how supressionFile is being set to the expression, not the file. This one line should read:
String suppresionFile = request.getSuppressionsLocation();
This bug is blocking the m2e-checkstyle plugin from supporting Maven-driven suppression files.
Issue Links
- is duplicated by
-
MCHECKSTYLE-134
suppressionsFileExpression does not work - cannot initialize module SuppressionFilter
-
- is related to
-
MCHECKSTYLE-169
Suppressions property is incorrectly set if suppressions file is on classpath
-
Activity
Dennis Lundberg
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | Closed [ 6 ] |
| Assignee | Dennis Lundberg [ dennislundberg ] | |
| Fix Version/s | 2.7 [ 16773 ] | |
| Resolution | Fixed [ 1 ] |
Sergei Ivanov
made changes -
| Link | This issue is related to MCHECKSTYLE-169 [ MCHECKSTYLE-169 ] |
Dennis Lundberg
made changes -
| Link |
This issue is duplicated by |