Package org.apache.maven.api.services
Interface DependencyResolver
- All Superinterfaces:
Service
- All Known Implementing Classes:
DefaultDependencyResolver
Collects, flattens and resolves dependencies.
-
Method Summary
Modifier and TypeMethodDescriptionresolve
(DependencyResolverRequest request) This method collects, flattens and resolves the dependencies.default DependencyResolverResult
resolve
(Session session, List<DependencyCoordinate> dependencies) default DependencyResolverResult
resolve
(Session session, List<DependencyCoordinate> dependencies, PathScope scope) default DependencyResolverResult
resolve
(Session session, DependencyCoordinate dependency) default DependencyResolverResult
resolve
(Session session, DependencyCoordinate dependency, PathScope scope) default DependencyResolverResult
default DependencyResolverResult
-
Method Details
-
flatten
- Throws:
DependencyResolverException
-
resolve
DependencyResolverResult resolve(DependencyResolverRequest request) throws DependencyCollectorException, DependencyResolverException, ArtifactResolverException This method collects, flattens and resolves the dependencies.- Parameters:
request
- the request to resolve- Returns:
- the result of the resolution
- Throws:
DependencyCollectorException
DependencyResolverException
ArtifactResolverException
- See Also:
-
resolve
-
resolve
-
resolve
@Nonnull default DependencyResolverResult resolve(@Nonnull Session session, @Nonnull DependencyCoordinate dependency) -
resolve
@Nonnull default DependencyResolverResult resolve(@Nonnull Session session, @Nonnull DependencyCoordinate dependency, @Nonnull PathScope scope) -
resolve
@Nonnull default DependencyResolverResult resolve(@Nonnull Session session, @Nonnull List<DependencyCoordinate> dependencies) -
resolve
@Nonnull default DependencyResolverResult resolve(@Nonnull Session session, @Nonnull List<DependencyCoordinate> dependencies, @Nonnull PathScope scope)
-