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

Declared execution in PluginMgmt gets bound to lifecycle (regression)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • 3.0.1, 3.0.2, 3.0.3, 3.0.4
    • 4.0.x-candidate
    • Plugins and Lifecycle
    • None
    • Mac OS 10.7.5, Apple JDK 1.6.0_35
      (Same behavior seen on Windows XP with Sun JDK 1.6.0 as well)

    Description

      If a plugin execution binding is declared in pluginManagement it gets bound to the build lifecycle in Maven 3.0.x, but not with Maven 2.2.1.
      My understanding is that the behavior in Maven 3.0 is wrong; an execution binding needs to be declared in build/plugins/plugin to be bound.

      Attachments

        1. binding-test.zip
          5 kB
          Anders Hammar
        2. MNG-5359-IT.patch
          6 kB
          Anders Hammar

        Issue Links

          Activity

            People

              Unassigned Unassigned
              afloom Anders Hammar
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: