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
Guillaume Nodet opened MNG-7350 and commented
mvnddoes redefine a few maven classes in order to plugin its caching layer.One of those class is the
ProjectBuilder, but that's only because theModelCacheis created using a direct call on the implementation.This ticket aims to introduce a
ModelCacheFactoryso thatmvndcan simply define a custom factory instead of redefining the fullProjectBuilder.Issue Links:
("causes")
Remote Links:
Backported to: 4.0.0-alpha-2, 3.9.0