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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 3.0.3
    • Fix Version/s: None
    • Component/s: Plugins and Lifecycle
    • Labels:
      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.

        Issue Links

          Activity

          Graham Lea created issue -
          glea made changes -
          Field Original Value New Value
          Link This issue supercedes MNG-2258 [ MNG-2258 ]
          glea made changes -
          Link This issue is related to MNG-2258 [ MNG-2258 ]
          glea made changes -
          Link This issue supercedes MNG-2258 [ MNG-2258 ]
          Benjamin Bentmann made changes -
          Link This issue duplicates MNG-3522 [ MNG-3522 ]
          Benjamin Bentmann made changes -
          Resolution Duplicate [ 3 ]
          Status Open [ 1 ] Closed [ 6 ]
          Assignee Benjamin Bentmann [ bentmann ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
          Mark Thomas made changes -
          Workflow jira [ 12715326 ] Default workflow, editable Closed status [ 12754882 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
          Mark Thomas made changes -
          Workflow jira [ 12951587 ] Default workflow, editable Closed status [ 12988418 ]

            People

            • Assignee:
              Benjamin Bentmann
              Reporter:
              Graham Lea
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development