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 SummaryConstructorsConstructorDescriptionDefaultDependencyResolutionRequest(MavenProject project, org.eclipse.aether.RepositorySystemSession session) 
- 
Method SummaryModifier 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- 
DefaultDependencyResolutionRequestpublic DefaultDependencyResolutionRequest()
- 
DefaultDependencyResolutionRequestpublic DefaultDependencyResolutionRequest(MavenProject project, org.eclipse.aether.RepositorySystemSession session) 
 
- 
- 
Method Details- 
getResolutionFilterpublic org.eclipse.aether.graph.DependencyFilter getResolutionFilter()Description copied from interface:DependencyResolutionRequestGets the filter used to exclude some dependencies from resolution.- Specified by:
- getResolutionFilterin interface- DependencyResolutionRequest
- Returns:
- The filter to exclude dependencies from resolution or nullto resolve all dependencies.
 
- 
getMavenProjectDescription copied from interface:DependencyResolutionRequestGets the project to resolve dependencies for.- Specified by:
- getMavenProjectin interface- DependencyResolutionRequest
- Returns:
- The project to resolve dependencies for or nullif not set.
 
- 
getRepositorySessionpublic org.eclipse.aether.RepositorySystemSession getRepositorySession()Description copied from interface:DependencyResolutionRequestGets the session to use for repository access.- Specified by:
- getRepositorySessionin interface- DependencyResolutionRequest
- Returns:
- The repository session or nullif not set.
 
- 
setResolutionFilterpublic 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 interface- DependencyResolutionRequest
- Parameters:
- filter- The filter to exclude dependencies from resolution, may be- nullto resolve all dependencies.
- Returns:
- This request for chaining, never null.
 
- 
setMavenProjectDescription copied from interface:DependencyResolutionRequestSets the project to resolve dependencies for.- Specified by:
- setMavenProjectin interface- DependencyResolutionRequest
- Parameters:
- project- The project to resolve dependencies for, may be- null.
- Returns:
- This request for chaining, never null.
 
- 
setRepositorySessionpublic DependencyResolutionRequest setRepositorySession(org.eclipse.aether.RepositorySystemSession repositorySession) Description copied from interface:DependencyResolutionRequestSets the session to use for repository access.- Specified by:
- setRepositorySessionin interface- DependencyResolutionRequest
- Parameters:
- repositorySession- The repository session to use.
- Returns:
- This request for chaining, never null.
 
 
-