Skip to content

[MNG-8220] Fix loading DI-powered beans from extensions #9783

@jira-importer

Description

@jira-importer

Tamas Cservenak opened MNG-8220 and commented

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).


Affects: 4.0.0-beta-3

Issue Links:

  • MNG-8254 Fix loading DI-powered beans from extensions if mixed in not DI-powered beans
    ("is duplicated by")

Remote Links:

Backported to: 4.0.0-beta-4

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority:majorMajor loss of function

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions