Package org.apache.maven.internal.impl
Class DefaultDependencyCollector
java.lang.Object
org.apache.maven.internal.impl.DefaultDependencyCollector
- All Implemented Interfaces:
Service,DependencyCollector
@Named
@Singleton
public class DefaultDependencyCollector
extends Object
implements DependencyCollector
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncollect(DependencyCollectorRequest request) Collects the transitive dependencies and builds a dependency graph.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.api.services.DependencyCollector
collect, collect, collect
-
Constructor Details
-
DefaultDependencyCollector
public DefaultDependencyCollector()
-
-
Method Details
-
collect
@Nonnull public DependencyCollectorResult collect(@Nonnull DependencyCollectorRequest request) throws DependencyCollectorException, IllegalArgumentException Description copied from interface:DependencyCollectorCollects the transitive dependencies and builds a dependency graph. Note that this operation is only concerned about determining the coordinates of the transitive dependencies and does not actually resolve the artifact files.- Specified by:
collectin interfaceDependencyCollector- Parameters:
request- the dependency collection request, must not benull- Returns:
- the collection result, never
null - Throws:
DependencyCollectorException- if the dependency tree could not be builtIllegalArgumentException- if an argument is null or invalid- See Also:
-