You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Rocher Suchard (JIRA)" <ji...@apache.org> on 2015/04/27 22:55:38 UTC

[jira] [Created] (MNG-5811) Display the time of execution for each participant of the build

Rocher Suchard created MNG-5811:
-----------------------------------

             Summary: Display the time of execution for each participant of the build
                 Key: MNG-5811
                 URL: https://issues.apache.org/jira/browse/MNG-5811
             Project: Maven
          Issue Type: Improvement
          Components: General
    Affects Versions: 3.3.1, 3.2.5
            Reporter: Rocher Suchard
            Priority: Minor


Hello,

When working with projet with a lots of plugins bundled in different phase, I'd find rather interesting to have the execution time of such plugin, like you have the execution time of each project in a multi module project.

The major use of such feature is to determine the plugins that takes too much time in the build process and possibly to correct them.


For an example of what I want, compare the two output :

- default log (on any project, this is not relevant here) :

{code}
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Application ................................... SUCCESS [  0.768 s]
[INFO] apps-common ................................... SUCCESS [  3.649 s]
[INFO] apps-template-plugin .......................... SUCCESS [  6.665 s]
[INFO] apps-general .................................. SUCCESS [ 12.627 s]
[INFO] apps-console .................................. SUCCESS [  0.384 s]
[INFO] GUI Tools ..................................... SUCCESS [  1.059 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25.330 s
[INFO] Finished at: 2015-04-27T22:46:54+02:00
[INFO] Final Memory: 47M/613M
[INFO] ------------------------------------------------------------------------
{code}

- "enhanced" logs :

{code}
[INFO] ------------------------------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Application ........................................................... SUCCESS [  0.768 s]
[INFO] apps-common ........................................................... SUCCESS [  3.649 s]
[INFO] apps-template-plugin .................................................. SUCCESS [  6.665 s]
[INFO] apps-general .......................................................... SUCCESS [ 12.627 s]
[INFO] apps-console .......................................................... SUCCESS [  0.384 s]
[INFO] GUI Tools ............................................................. SUCCESS [  1.059 s]
[INFO]  - maven-clean-plugin:2.6.1:clean                                   ... SUCCESS [  1.000 s]
[INFO]  - maven-resources-plugin:2.6:resources (default-resources)         ... SUCCESS [  1.000 s]
[INFO]  - maven-compiler-plugin:2.0.2:compile (default-compile)            ... SUCCESS [  1.000 s]
[INFO]  - maven-resources-plugin:2.6:testResources (default-testResources) ... SUCCESS [  1.000 s]
[INFO]  - maven-compiler-plugin:2.0.2:testCompile (default-testCompile)    ... SUCCESS [  1.000 s]
[INFO]  - maven-surefire-plugin:2.12.4:test (default-test)                 ... SUCCESS [  1.000 s]
[INFO]  - maven-jar-plugin:2.4:jar (default-jar)                           ... SUCCESS [  1.000 s]
[INFO]  - maven-install-plugin:2.4:install (default-install)               ... SUCCESS [  1.000 s]
[INFO] ------------------------------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------------------------------
[INFO] Total time: 25.330 s
[INFO] Finished at: 2015-04-27T22:46:54+02:00
[INFO] Final Memory: 47M/613M
[INFO] ------------------------------------------------------------------------------------------------
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)