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

    • Type: Sub-task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.3.3
    • Fix Version/s: 4.x / Backlog
    • Component/s: Plugins and Lifecycle
    • Labels:
      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

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

              Dates

              • Created:
                Updated: