Maven
  1. Maven
  2. MNG-5088

The order of plugins within the same phase cannot be specified in Maven 3

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 3.0.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows
    • Complexity:
      Intermediate
    • Testcase included:
      yes
    • Number of attachments :
      2

      Description

      This report is a duplicate of MNG-2258, HOWEVER it seems no one is paying attention to that issue as it is a Blocker Bug but it has been around for 5 years now and is still not assigned to anyone. I realise it's poor form to create a duplicate bug, and I apologise, but it seemed to me that adding a comment to an issue that's been ignored for 5 years would probably not have any effect.

      The problem is simple: people need the ability to control the order in which plugins within the same phase are executed. At the moment this appears not to be possible, at least in Maven 3.0.3 - the latest and greatest, right?

      I am attaching a simple pom which, when executed with 'mvn install', executes the plugins in the opposite order to what is specified in the pom (on my machine, at least). No other source files are necessary for reproducing the problem.

      Also attached is the -X output of running the build.

      It's my understanding that someone submitted a patch or at least suggested a simple solution on the older issue, MNG-2258.

      I don't mind if this issue is closed as a duplicate, as long as someone is assigned to look at MNG-2258.

      Thanks.

      1. build.log
        73 kB
        Graham Lea
      2. pom.xml
        2 kB
        Graham Lea

        Issue Links

          Activity

          Hide
          Wendy Smoak added a comment -

          A better way to get it some attention would be to bring it up on the mailing list, not open a bug report that you already know is going to get closed as a duplicate...

          Show
          Wendy Smoak added a comment - A better way to get it some attention would be to bring it up on the mailing list, not open a bug report that you already know is going to get closed as a duplicate...
          Hide
          Graham Lea added a comment -

          Thanks for the advice, Wendy. Will do.

          Show
          Graham Lea added a comment - Thanks for the advice, Wendy. Will do.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: