Package org.apache.maven.project
Class DefaultProjectDependenciesResolver
java.lang.Object
org.apache.maven.project.DefaultProjectDependenciesResolver
- All Implemented Interfaces:
ProjectDependenciesResolver
@Named
@Singleton
public class DefaultProjectDependenciesResolver
extends Object
implements ProjectDependenciesResolver
-
Constructor Summary
ConstructorDescriptionDefaultProjectDependenciesResolver
(org.eclipse.aether.RepositorySystem repoSystem, List<RepositorySessionDecorator> decorators) -
Method Summary
Modifier and TypeMethodDescriptionresolve
(DependencyResolutionRequest request) Resolves the transitive dependencies of a project.
-
Constructor Details
-
DefaultProjectDependenciesResolver
@Inject public DefaultProjectDependenciesResolver(org.eclipse.aether.RepositorySystem repoSystem, List<RepositorySessionDecorator> decorators)
-
-
Method Details
-
resolve
public DependencyResolutionResult resolve(DependencyResolutionRequest request) throws DependencyResolutionException Description copied from interface:ProjectDependenciesResolver
Resolves the transitive dependencies of a project.- Specified by:
resolve
in interfaceProjectDependenciesResolver
- Parameters:
request
- The resolution request holding the parameters, must not benull
.- Returns:
- The resolution result, never
null
. - Throws:
DependencyResolutionException
- If any project dependency could not be resolved.
-