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

Multiple executions of the same plugin at the same life cycle phase in a multi-module profile mixed up

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Patch

    Description

      I use the latest Maven 2.0.5 build found at
      http://people.apache.org/~jvanzyl/maven-2.0.5/org/apache/maven/maven-core/2.0.5/

      I have multiple executions of the same plugin at the same life cycle phase in a multi-module parent POM. There was a bug regarding the order of this executions. This was fixed at 2.0.5.

      Now I needed to extract these plugin executions to a profile in this parent POM. Now the executions are not ordered correctly anymore

      Before (works fine):
      parent\pom.xml <= multiple executions of the same plugin at the same life
      cycle phase in the default build element
      parent \child1\pom.xml
      parent \child2\pom.xml
      Calling mvn install in parent works fine.

      After (fails):
      parent\pom.xml <= multiple executions of the same plugin at the same life
      cycle phase in the build element of a profile
      parent \child1\pom.xml
      parent \child2\pom.xml
      Calling mvn install in parent mixed up the execution order in the childs.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jvanzyl Jason van Zyl
            maik Maik Ebert
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment