You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2022/10/20 08:11:02 UTC

[jira] [Updated] (MNG-7406) Strange formatting of warning/errors from project building

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

Guillaume Nodet updated MNG-7406:
---------------------------------
    Fix Version/s: 4.0.0-alpha-2

> Strange formatting of warning/errors from project building
> ----------------------------------------------------------
>
>                 Key: MNG-7406
>                 URL: https://issues.apache.org/jira/browse/MNG-7406
>             Project: Maven
>          Issue Type: Improvement
>          Components: Errors
>    Affects Versions: 4.0.x-candidate
>            Reporter: Maarten Mulders
>            Assignee: Maarten Mulders
>            Priority: Minor
>             Fix For: 4.0.0-alpha-1, 4.0.0-alpha-2, 4.0.0
>
>         Attachments: after.png, before.png, image.png
>
>
> If Maven finds an error while building the model, it throws a {{{}ProjectBuildingException{}}}. When that makes it to the CLI, it is printed in a bit strange way:
> !image.png!
> Note how the message reads:
> {code:java}
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
> [ERROR] The expression ${pom.organization.name} is no longer supported. Please use ${project.organization.name} instead.
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]   
> [ERROR]   The project foo:bar:1.0-SNAPSHOT (/private/tmp/ner/bar/pom.xml) has 1 error
> [ERROR]     The expression ${pom.organization.name} is no longer supported. Please use ${project.organization.name} instead.
> [ERROR] {code}
> # It contains a severity marker *twice*
> # It repeats the error/warning message



--
This message was sent by Atlassian Jira
(v8.20.10#820010)