apache / apache/maven-checkstyle-plugin

[MCHECKSTYLE-397] support ${config_loc} in checkstyle.xml just like eclipsecs

Open
#309 2 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

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

we can use config_loc as: ${config_loc}/suppressions.xml.

so we can use same checkstyle.xml which contains ${config_loc} for eclipsecs and maven

for eclipsecs ${config_loc} is a variable of Eclipse and it will refer to the same directory where the checkstyle.xml is present.

 

ref: https://checkstyle.org/eclipse-cs/#!/properties

---

**Remote Links:**
- [GitHub Pull Request #36
](https://github.com/apache/maven-checkstyle-plugin/pull/36)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing how the plugin loads checkstyle.xml and compare the requested ${config_loc} behavior with EclipseCS. Inspect the referenced GitHub Pull Request #36 and the suppressions.xml example; done means the same checkstyle.xml works in both EclipseCS and Maven.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.