Package org.apache.maven.project
Class DefaultDependencyResolutionRequest
java.lang.Object
org.apache.maven.project.DefaultDependencyResolutionRequest
- All Implemented Interfaces:
 DependencyResolutionRequest
public class DefaultDependencyResolutionRequest
extends Object
implements DependencyResolutionRequest
- 
Constructor Summary
ConstructorsConstructorDescriptionDefaultDependencyResolutionRequest(MavenProject project, org.eclipse.aether.RepositorySystemSession session)  - 
Method Summary
Modifier and TypeMethodDescriptionGets the project to resolve dependencies for.org.eclipse.aether.RepositorySystemSessionGets the session to use for repository access.org.eclipse.aether.graph.DependencyFilterGets the filter used to exclude some dependencies from resolution.setMavenProject(MavenProject project) Sets the project to resolve dependencies for.setRepositorySession(org.eclipse.aether.RepositorySystemSession repositorySession) Sets the session to use for repository access.setResolutionFilter(org.eclipse.aether.graph.DependencyFilter filter) Sets the filter used to exclude some dependencies from resolution. 
- 
Constructor Details
- 
DefaultDependencyResolutionRequest
public DefaultDependencyResolutionRequest() - 
DefaultDependencyResolutionRequest
public DefaultDependencyResolutionRequest(MavenProject project, org.eclipse.aether.RepositorySystemSession session)  
 - 
 - 
Method Details
- 
getResolutionFilter
public org.eclipse.aether.graph.DependencyFilter getResolutionFilter()Description copied from interface:DependencyResolutionRequestGets the filter used to exclude some dependencies from resolution.- Specified by:
 getResolutionFilterin interfaceDependencyResolutionRequest- Returns:
 - The filter to exclude dependencies from resolution or 
nullto resolve all dependencies. 
 - 
getMavenProject
Description copied from interface:DependencyResolutionRequestGets the project to resolve dependencies for.- Specified by:
 getMavenProjectin interfaceDependencyResolutionRequest- Returns:
 - The project to resolve dependencies for or 
nullif not set. 
 - 
getRepositorySession
public org.eclipse.aether.RepositorySystemSession getRepositorySession()Description copied from interface:DependencyResolutionRequestGets the session to use for repository access.- Specified by:
 getRepositorySessionin interfaceDependencyResolutionRequest- Returns:
 - The repository session or 
nullif not set. 
 - 
setResolutionFilter
public DependencyResolutionRequest setResolutionFilter(org.eclipse.aether.graph.DependencyFilter filter) Description copied from interface:DependencyResolutionRequestSets the filter used to exclude some dependencies from resolution. Note that this filter only controls the resolution/download of dependency artifacts, not the inclusion of dependency nodes in the resolved dependency graph.- Specified by:
 setResolutionFilterin interfaceDependencyResolutionRequest- Parameters:
 filter- The filter to exclude dependencies from resolution, may benullto resolve all dependencies.- Returns:
 - This request for chaining, never 
null. 
 - 
setMavenProject
Description copied from interface:DependencyResolutionRequestSets the project to resolve dependencies for.- Specified by:
 setMavenProjectin interfaceDependencyResolutionRequest- Parameters:
 project- The project to resolve dependencies for, may benull.- Returns:
 - This request for chaining, never 
null. 
 - 
setRepositorySession
public DependencyResolutionRequest setRepositorySession(org.eclipse.aether.RepositorySystemSession repositorySession) Description copied from interface:DependencyResolutionRequestSets the session to use for repository access.- Specified by:
 setRepositorySessionin interfaceDependencyResolutionRequest- Parameters:
 repositorySession- The repository session to use.- Returns:
 - This request for chaining, never 
null. 
 
 -