Uploaded image for project: 'Maven Plugin Tools'
  1. Maven Plugin Tools
  2. MPLUGIN-110

Make easier to pass parameters into MojoDescriptorExtractors

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.5
    • API
    • None

    Description

      Both MPLUGIN-15 and MPLUGIN-101 require breaking changes to the MojoDescriptorExtractor interface in order to push down configuration from the Plugin Plugin into the extractors. Further enhancements might need more parameters, too, this does not scale.

      We should move all method parameters into some bean such that the execute() methods reduces to:

      List execute( MojoDescriptorExtractorRequest request )
      

      This way, future additions to the bean will not break existing implementors of the interface.

      Attachments

        Issue Links

          Activity

            People

              jdcasey John Dennis Casey
              bentmann Benjamin Bentmann
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: