apache / apache/maven-checkstyle-plugin

[MCHECKSTYLE-369] Sort Checkstyle Report

Open
#281 1 comment 0 reactions 0 assignees View on GitHub
enhancement priority:minor
Dominant language
Java
Stars
97
Forks
67
Avg merge
14h 50m
Merged PRs (30d)
6

Description

**[Dustin Singleton](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=singleton06)** opened **[MCHECKSTYLE-369](https://issues.apache.org/jira/browse/MCHECKSTYLE-369?redirect=false)** and commented

It would be nice to be able to have the result checkstyle report sorted.  I have noticed that it differs from linux to windows machines.  While this might be a checkstyle thing for how the report is generated, I think it would be nice to make it an option in checkstyle plugin to just sort the xml document that is created.

 

I'd be willing to do the work for it, but wanted to submit this here first to determine whether or not the pull request would be accepted if I did the work.

---

**Affects:** 3.0.0

**Issue Links:**
- [MCHECKSTYLE-385](https://issues.apache.org/jira/browse/MCHECKSTYLE-385) Violation should be a value class
(_**"requires"**_)

Contributor guide

No contributing guide indexed for this repository

Research direction

No source files, tests, entry points, sort order, or configuration details are named in the issue. Start by tracing where the Maven Checkstyle plugin creates its XML report, then clarify the expected ordering and option shape before deciding what tests would demonstrate that the report is sorted.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.