apache / apache/maven-checkstyle-plugin

[MCHECKSTYLE-422] Print absolute paths

Open
#334 0 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

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

When the check goal prints a violation to the console it gives the relative path

```
[ERROR] src/main/java/...
```

Off the top of my head all other plugins give absolute paths.

Absolute paths are necessary when running the build in IntelliJ's terminal. An absolute path is recognized as such and one can simply click it to open the file.

---

**Affects:** 3.2.0

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the check goal's violation output, which currently prints relative paths. Trace how the reported file path reaches the console and change the output to an absolute path; verify that the resulting path can be opened from IntelliJ's terminal.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.