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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncollect(DependencyCollectorRequest request) Collects the transitive dependencies and builds a dependency graph.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.api.services.DependencyCollectorcollect, collect, collect
- 
Constructor Details- 
DefaultDependencyCollectorpublic 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 interface- DependencyCollector
- Parameters:
- request- the dependency collection request, must not be- null
- Returns:
- the collection result, never null
- Throws:
- DependencyCollectorException- if the dependency tree could not be built
- IllegalArgumentException- if an argument is null or invalid
- See Also:
 
 
-