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

Document the algorithm calculating the order of plugin executions inside a phase.

    XMLWordPrintableJSON

Details

    Description

      Users continuously report issues regarding the order of plugin executions: repeating that "this order is not expected to be guaranteed inside a phase" is not convincing for them. (notice that perhaps telling that it cannot be guaranteed nor really controlled may be more convincing...)

      The algorithm used to calculate the order of executions performed by Maven needs to be documented:

      • declaration order in the POM
      • inheritance merging from parent POM,
      • merging of profiles and other plugin containers,
      • the order of executions of multiple executions in the same lifecycle phase,
      • the sorting by plugin that happens when multiple goals are defined for the same plugin,
        etc.

      based on Model Building https://maven.apache.org/ref/current/maven-model-builder/ ...

      Attachments

        Issue Links

          Activity

            People

              hboutemy Herve Boutemy
              schulte77 Christian Schulte
              Votes:
              8 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: