[ https://issues.apache.org/jira/browse/MNG-7406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maarten Mulders resolved MNG-7406. ---------------------------------- Resolution: Fixed Fixed in {{[apache/maven@0be5e40|https://github.com/apache/maven/commit/0be5e406d78062b56b32644fefce2642f5eab650]}}. > 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: 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.1#820001)