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

Fix loading DI-powered beans from extensions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.0-beta-3
    • 4.0.0-beta-4, 4.0.0
    • Plugin API
    • None

    Description

      I am trying to provide alternate implementation for org.apache.maven.api.services.model.ModelVersionProcessor from a core extension and cannot. The implementation in maven-api-impl org.apache.maven.internal.impl.model.DefaultModelVersionProcessor uses Maven DI annotations, and core extension cannot replace it whatever I tried (javax.inject annotations + priority or Maven DI annotations + priority).

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: