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 TypeMethodDescriptionflatten
(Session s, Node node, ResolutionScope scope) resolve
(DependencyResolverRequest request) This method collects, flattens and resolves the dependencies.
-
Constructor Details
-
DefaultDependencyResolver
@Inject public DefaultDependencyResolver()
-
-
Method Details
-
flatten
public List<Node> flatten(Session s, Node node, ResolutionScope scope) throws DependencyResolverException - Specified by:
flatten
in interfaceDependencyResolver
- Throws:
DependencyResolverException
-
resolve
public DependencyResolverResult resolve(DependencyResolverRequest request) throws DependencyCollectorException, DependencyResolverException, ArtifactResolverException Description copied from interface:DependencyResolver
This method collects, flattens and resolves the dependencies.- Specified by:
resolve
in interfaceDependencyResolver
- Parameters:
request
- the request to resolve- Returns:
- the result of the resolution
- Throws:
DependencyCollectorException
DependencyResolverException
ArtifactResolverException
- See Also:
-