apache / apache/maven-checkstyle-plugin

[MCHECKSTYLE-396] Add feature to generate Xpath suppressions as a goal

Open
#308 7 comments 0 reactions 0 assignees View on GitHub
enhancement priority:major
Dominant language
Java
Stars
97
Forks
67
Avg merge
14h 50m
Merged PRs (30d)
6

Description

**[Linus Fernandes](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=fernal73)** opened **[MCHECKSTYLE-396](https://issues.apache.org/jira/browse/MCHECKSTYLE-396?redirect=false)** and commented

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

 

---

**Affects:** 3.1.1

**Issue Links:**
- [MCHECKSTYLE-382](https://issues.apache.org/jira/browse/MCHECKSTYLE-382) Add option to generate suppression xml file
(_**"duplicates"**_)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing the requested Maven plugin goal with Checkstyle's CLI -g command and review the linked MCHECKSTYLE-382 duplicate for the current direction. Done means the plugin exposes a goal that generates XPath suppressions with behavior equivalent to the CLI option, with the expected output verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.