Package org.apache.maven.internal.impl
Class DefaultDependencyResolver
java.lang.Object
org.apache.maven.internal.impl.DefaultDependencyResolver
- All Implemented Interfaces:
Service
,DependencyResolver
@Named
@Singleton
public class DefaultDependencyResolver
extends Object
implements DependencyResolver
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncollect
(DependencyResolverRequest request) resolve
(DependencyResolverRequest request) Collects, flattens and resolves the dependencies.
-
Constructor Details
-
DefaultDependencyResolver
public DefaultDependencyResolver()
-
-
Method Details
-
collect
@Nonnull public DependencyResolverResult collect(@Nonnull DependencyResolverRequest request) throws DependencyResolverException, IllegalArgumentException - Specified by:
collect
in interfaceDependencyResolver
- Throws:
DependencyResolverException
IllegalArgumentException
-
flatten
@Nonnull public List<Node> flatten(@Nonnull Session s, @Nonnull Node node, @Nullable PathScope scope) throws DependencyResolverException - Specified by:
flatten
in interfaceDependencyResolver
- Throws:
DependencyResolverException
-
resolve
public DependencyResolverResult resolve(DependencyResolverRequest request) throws DependencyResolverException, DependencyResolverException, ArtifactResolverException Collects, flattens and resolves the dependencies.- Specified by:
resolve
in interfaceDependencyResolver
- Parameters:
request
- the request to resolve- Returns:
- the result of the resolution
- Throws:
DependencyResolverException
ArtifactResolverException
-