[
https://issues.apache.org/jira/browse/MCHECKSTYLE-396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17146805#comment-17146805
]
Linus Fernandes commented on MCHECKSTYLE-396:
---------------------------------------------
I don't think the current goal that allows suppressions supports the Xpath
suppressions.
I don't use it that way. I prefer to configure it in the Checkstyle config
file.
http://maven.apache.org/plugins////maven-checkstyle-plugin/examples/suppressions-filter.html
I suppose this could be overloaded to support Xpath suppressions.
Do you think users would want to use both simultaneously? Should they be
allowed to?
The Checkstyle config permits it.
On Fri, 26 Jun 2020, 21:38 LINUS FERNANDES, <[email protected]>
> Add feature to generate Xpath suppressions as a goal
> ----------------------------------------------------
>
> Key: MCHECKSTYLE-396
> URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-396
> Project: Maven Checkstyle Plugin
> Issue Type: New Feature
> Affects Versions: 3.1.1
> Reporter: Linus Fernandes
> Priority: Major
> Labels: XPath, checkstyle, suppress
>
> It would be nice to have an additional goal added to
> the plugin to generate Xpath suppressions as currently possible through the
> CLI using the -g switch.
>
> https://checkstyle.sourceforge.io/cmdline.html#Command_line_usage
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)