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

Confine Plexus as much as possible, switch to Lookup

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-12, 4.0.0
    • Core
    • None

    Description

      Confine plexus use in core as much as possible. Probably almost all uses may be replaced with API Lookup.

      Cleanup unused members as well, I found at least two components:

      • org/apache/maven/lifecycle/DefaultLifecycleExecutor
      • org/apache/maven/lifecycle/internal/LifecycleStarter

      but I bet there are more...

      Given clients should inject and not manually instantiate components, ctor changes should be hidden from them (managed by DI). Hence, changes like these are "safe" as long as client code "plays by the rules".

      Attachments

        Issue Links

          Activity

            People

              cstamas Tamas Cservenak
              cstamas Tamas Cservenak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: