Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5665 Advanced Lifecycle Handling
  3. MNG-5885

Optimize execution when phases of same lifecycle are called

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.3.3
    • 4.x / Backlog
    • Plugins and Lifecycle
    • None

    Description

      In case someone calls compile package there's no need for the separate compile call. Now the lifecycle is executed twice: once until compile and once again until package.

      Note: package compile is weird due to its order, but should not be optimized. compile resources:copy-resources package is a bit complicated. Ideally this should call all phases up until compile, followed by resources:copy-resources, followed by the process-classes to package phases.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rfscholte Robert Scholte
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated: