Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5811

Display the time of execution for each participant of the build

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.2.5, 3.3.1
    • Fix Version/s: None
    • Component/s: General
    • Labels:

      Description

      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) :
      [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] ------------------------------------------------------------------------
      
      • "enhanced" logs :
      [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] ------------------------------------------------------------------------------------------------
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rocher.suchard Rocher Suchard
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: