You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Nas Kavian (Jira)" <ji...@apache.org> on 2021/09/04 01:11:00 UTC

[jira] [Updated] (MCHECKSTYLE-408) Improve Maven output

     [ https://issues.apache.org/jira/browse/MCHECKSTYLE-408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nas Kavian updated MCHECKSTYLE-408:
-----------------------------------
    Description: 
**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]

  was:
**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


> Improve Maven output
> --------------------
>
>                 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
>            Priority: Major
>
> **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.3.4#803005)