apache / apache/maven-checkstyle-plugin

[MCHECKSTYLE-91] Different checkstyle rules for main and test source

Open
#436 4 comments 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

**[Ricky Hazelwood](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rjhazelwood)** opened **[MCHECKSTYLE-91](https://issues.apache.org/jira/browse/MCHECKSTYLE-91?redirect=false)** and commented

It would be nice if the plugin can accept different configuration for test source and produce separate reports for main and test code.

---

**Attachments:**
- [MCHECKSTYLE-91-2009-01-02-20-30-00.diff](https://issues.apache.org/jira/secure/attachment/12714686/MCHECKSTYLE-91-2009-01-02-20-30-00.diff) (_15.44 kB_)

4 votes, 7 watchers

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the attached MCHECKSTYLE-91 diff and the current plugin behavior for main and test sources. Confirm that separate rule configurations are accepted and that each source set produces its own report; use the existing project checks to verify both paths.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.