Skip to content

[MNG-7350] Introduce a factory for ModelCache #8077

@jira-importer

Description

@jira-importer

Guillaume Nodet opened MNG-7350 and commented

mvnd does redefine a few maven classes in order to plugin its caching layer.
One of those class is the ProjectBuilder, but that's only because the ModelCache is created using a direct call on the implementation.
This ticket aims to introduce a ModelCacheFactory so that mvnd can simply define a custom factory instead of redefining the full ProjectBuilder.


Issue Links:

  • MNG-7759 java.lang.NullPointerException at org.apache.maven.repository.internal.DefaultModelCache.newInstance (DefaultModelCache.java:37)
    ("causes")
  • MNG-7354 Refactor MavenCli to ease extensibility

Remote Links:

Backported to: 4.0.0-alpha-2, 3.9.0

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions