You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Christoph Läubrich (Jira)" <ji...@apache.org> on 2022/05/27 08:37:00 UTC

[jira] [Created] (MNG-7484) Collect warnings from different MOJO executions and give a comprehensive summary at the end of the build

Christoph Läubrich created MNG-7484:
---------------------------------------

             Summary: Collect warnings from different MOJO executions and give a comprehensive summary at the end of the build
                 Key: MNG-7484
                 URL: https://issues.apache.org/jira/browse/MNG-7484
             Project: Maven
          Issue Type: Improvement
            Reporter: Christoph Läubrich


In certain situations there are some useful warnings a mojo emits (e.g. missing encoding, deprecated usage of options, possible side-effects,...).

Especial with a tycho-build it is common to have many hundred of reactor projects in a build and one problem we see is, that these warnings are easily overseen and people are then confused/surprised.

On the other hand, if a build *fails* then there we see the error in the mojo and a summary at the end of the build.

My idea would be, to have something similar for warnings, so a mojo can add a project specific warning that is summarized at the end. At best, it would even summarize duplicate warnings.

One idea would be to have an option to add to the BuildSummary warnings that can then be used to the CLI to produce such a summary.

 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)