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

plugin definitions not merged correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.0.4
    • None
    • Plugins and Lifecycle
    • None

    Description

      If both a parent, and a child plugin reference a plugin, the plugin configuration is not merged correctly; instead, the child build ends up with two copies of the plugin (with separate configuration and separate executions).

      The attachment contains a testcase demonstrating the problem, and fixes to ModelUtils.java (against current trunk) to fix it.

      Attachments

        1. maven-project-plugins.patch
          6 kB
          Richard van der Hoff
        2. maven-project-plugins.patch
          4 kB
          Richard van der Hoff

        Issue Links

          Activity

            People

              carlos Carlos Sanchez Gonzalez
              richvdh Richard van der Hoff
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: