Marcus Watkins created MCHECKSTYLE-362:
------------------------------------------
Summary: Add suppressionFileOptional configuration option to allow
builds if file in suppressionsLocation is missing
Key: MCHECKSTYLE-362
URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-362
Project: Maven Checkstyle Plugin
Issue Type: New Feature
Reporter: Marcus Watkins
We use a parent pom containing our checkstyle configuration but have a few
projects with generated code that we'd like to exclude from checkstyle rules.
This means we have to copy the whole checkstyle configuration into these
projects' poms with a {{suppressionsLocation}} because adding it to the parent
would fail the builds in projects where that file is missing.
Checkstyle itself has an {{optional}} flag on
[{{SuppressionFilter}}|http://checkstyle.sourceforge.net/config_filters.html#SuppressionFilter]
that allows it to continue if the supplied file is missing.
We'd like to extend the Maven Checkstyle Plugin to have similar functionality
by way of a {{suppressionFileOptional}} configuration option that would simply
skip supplying the file value to checkstyle if the file fails to resolve.
If this sounds like something you would accept let us know and we'll whip it up
and submit a PR.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)