[
https://issues.apache.org/jira/browse/MNG-7406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maarten Mulders updated MNG-7406:
---------------------------------
Description:
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
was:
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}
1. It contains a severity marker *twice*
1. It repeats the error/warning message
> 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
>
> Attachments: 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.1#820001)