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

plugin configuration needs to activate lifecycle

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0-alpha-1
    • Plugins and Lifecycle
    • None

    Description

      The existence of plugin configuration needs to pre-initialise plugins and activate the necessary lifecycle elements.

      • specifying a plugins element in the POM will load all mojos in the plugin and add them to phases they specify using @phase (one in all in, even if specific goals are configured for the plugin)
      • plugin elements in the pom are inherited: for this reason, the super POM must not specify defaults for some plugins as they will always be loaded - defaults for mojos can be specified in the mojo descriptor
      • need to be able to override inheritence:
        <plugin>
        <id>test</id>
        <disabled>true</disabled>
        </plugin>
        (possibly likewise for goal)

      Attachments

        Issue Links

          Activity

            People

              brett Brett Porter
              brett Brett Porter
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: