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

Allow extension plugins to contribute non-core components to be reused by other plugins

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0-alpha-3
    • Component/s: Plugins and Lifecycle
    • Labels:
      None

      Description

      In Maven 2.x, build extensions can only contribute components that realize a custom impl of some API defined by the Maven core like artifact handlers and lifecycle mappings. However, to support things like Tycho in a stock Maven distro, we need a build extension to provide components that
      a) realize APIs defined merely by the extension and are unknown to Maven itself
      b) can be looked up and accessed via API from the extension and other plugins in the same project
      c) can be shared among all projects in the reactor using the same extension, including state kept by singletons

      See also https://issues.sonatype.org/browse/TYCHO-236.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bentmann Benjamin Bentmann
                Reporter:
                bentmann Benjamin Bentmann
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: