maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Katsubo (JIRA)" <j...@codehaus.org>
Subject [jira] (MCHECKSTYLE-169) Suppressions property is incorrectly set if suppressions file is on classpath
Date Mon, 02 Feb 2015 13:41:18 GMT

    [ https://jira.codehaus.org/browse/MCHECKSTYLE-169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=362374#comment-362374
] 

Dmitry Katsubo commented on MCHECKSTYLE-169:
--------------------------------------------

Before v2.12 (that included this patch) it was possible to set {{<suppressionsLocation>}}
to some location, that does not necessarily exist in particular project. This is handy e.g.
during multi-module build, when some of the projects have that file, and some ? don't. Now
the location should exist. How to make this setting optional (e.g. if suppressions file exists
then it is used, otherwise the build does not fail)?

> Suppressions property is incorrectly set if suppressions file is on classpath
> -----------------------------------------------------------------------------
>
>                 Key: MCHECKSTYLE-169
>                 URL: https://jira.codehaus.org/browse/MCHECKSTYLE-169
>             Project: Maven Checkstyle Plugin
>          Issue Type: Bug
>    Affects Versions: 2.8
>            Reporter: Sergei Ivanov
>            Assignee: Dennis Lundberg
>             Fix For: 2.12
>
>         Attachments: MCHECKSTYLE-169-bugfix.patch, MCHECKSTYLE-169-it.patch
>
>
> If checkstyle plugin loads suppressions file from its classpath, and the checkstyle configuration
contains suppression filter with a property placeholder, that property is not expanded because
an incorrect path is used.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message