You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2024/11/07 15:58:00 UTC
[jira] [Closed] (MCHECKSTYLE-408) Audit events should use Maven logging
[ https://issues.apache.org/jira/browse/MCHECKSTYLE-408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MCHECKSTYLE-408.
--------------------------------------
Resolution: Fixed
Fixed with [09d871ad62ab61a1dddf9db051f96c6dc2a3027a|https://gitbox.apache.org/repos/asf?p=maven-checkstyle-plugin.git;a=commit;h=09d871ad62ab61a1dddf9db051f96c6dc2a3027a].
> Audit events should use Maven logging
> -------------------------------------
>
> Key: MCHECKSTYLE-408
> URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-408
> Project: Maven Checkstyle Plugin
> Issue Type: Improvement
> Affects Versions: 3.1.2
> Reporter: Nas Kavian
> Assignee: Michael Osipov
> Priority: Major
> Fix For: 3.6.1
>
>
> **How it works Now:**
> ```bash
> [INFO] — maven-checkstyle-plugin:3.1.2:checkstyle (default-cli) @ project —
> [INFO] Starting audit...
> ... other checkstyle output ...
> Audit done.
> [INFO]
> ```
> **Desired output**
> ```bash
> [INFO] — maven-checkstyle-plugin:3.1.2:checkstyle (default-cli) @ project —
> [INFO] Starting audit...
> ... other non-indented checkstyle output is okay ...
> [INFO] Audit done.
> [INFO]
> ```
> **So that the output is aligned when there are no violations**
> ```bash
> [INFO] — maven-checkstyle-plugin:3.1.2:checkstyle (default-cli) @ project —
> [INFO] Starting audit...
> [INFO] Audit done.
> [INFO]
> ```
> **Similar to SpotBugs and PMD output**
> ```bash
> [INFO] — spotbugs-maven-plugin:4.3.0:spotbugs (spotbugs) @ project —
> [INFO] Fork Value is true
> [INFO] Done SpotBugs Analysis....
> [INFO]
> [INFO] — maven-pmd-plugin:3.14.0:check (default-cli) @ project —
> [INFO] PMD version: 6.37.0
> [INFO]
> ```
> Originally wrote this issue in GitHub against the Checkstyle project, they asked to move it here.
> [https://github.com/checkstyle/checkstyle/issues/10775]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)