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

Maven End Users should be able to control the execution order of plugins without creating a custom Lifecycle and Package Type

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.0.3
    • None
    • Plugins and Lifecycle
    • None

    Description

      As confirmed by Benjamin Bentmann, Maven end users are currently limited in the control they have over the execution order of plugins bound to the same build phase unless they author their own custom Lifecycle and use a custom Package Type.

      While Maven is intended to be declarative rather than procedural and to do most of its work based on sensible defaults, it is a basic requirement of any build system to allow the end user to control the order in which actions occur and to do so with a minimum of effort.

      It should be possible to configure a plugin, simply and entirely within the POM, such that it will execute before, or even between, plugins defined by the lifecycle mappings.

      Attachments

        Issue Links

          Activity

            People

              bentmann Benjamin Bentmann
              grlea Graham Lea
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: