Package org.apache.maven.project
Class DefaultProjectBuilder.ModelResolverWrapper
java.lang.Object
org.apache.maven.project.DefaultProjectBuilder.ModelResolverWrapper
- All Implemented Interfaces:
Service
,ModelResolver
- Enclosing class:
DefaultProjectBuilder
protected abstract class DefaultProjectBuilder.ModelResolverWrapper
extends Object
implements ModelResolver
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ModelResolver
getResolver
(List<org.eclipse.aether.repository.RemoteRepository> repositories) resolveModel
(Session session, String groupId, String artifactId, String version, Consumer<String> resolved) resolveModel
(Session session, org.apache.maven.api.model.Dependency dependency, AtomicReference<org.apache.maven.api.model.Dependency> modified) resolveModel
(Session session, org.apache.maven.api.model.Parent parent, AtomicReference<org.apache.maven.api.model.Parent> modified)
-
Constructor Details
-
ModelResolverWrapper
protected ModelResolverWrapper()
-
-
Method Details
-
getResolver
protected abstract ModelResolver getResolver(List<org.eclipse.aether.repository.RemoteRepository> repositories) -
resolveModel
public ModelSource resolveModel(Session session, String groupId, String artifactId, String version, Consumer<String> resolved) throws ModelResolverException - Specified by:
resolveModel
in interfaceModelResolver
- Throws:
ModelResolverException
-
resolveModel
public ModelSource resolveModel(Session session, org.apache.maven.api.model.Parent parent, AtomicReference<org.apache.maven.api.model.Parent> modified) throws ModelResolverException - Specified by:
resolveModel
in interfaceModelResolver
- Throws:
ModelResolverException
-
resolveModel
public ModelSource resolveModel(Session session, org.apache.maven.api.model.Dependency dependency, AtomicReference<org.apache.maven.api.model.Dependency> modified) throws ModelResolverException - Specified by:
resolveModel
in interfaceModelResolver
- Throws:
ModelResolverException
-