public interface DependencyResolutionRequest
Modifier and Type | Method and Description |
---|---|
MavenProject |
getMavenProject()
Gets the project to resolve dependencies for.
|
RepositorySystemSession |
getRepositorySession()
Gets the session to use for repository access.
|
DependencyFilter |
getResolutionFilter()
Gets the filter used to exclude some dependencies from resolution.
|
DependencyResolutionRequest |
setMavenProject(MavenProject project)
Sets the project to resolve dependencies for.
|
DependencyResolutionRequest |
setRepositorySession(RepositorySystemSession repositorySession)
Sets the session to use for repository access.
|
DependencyResolutionRequest |
setResolutionFilter(DependencyFilter filter)
Sets the filter used to exclude some dependencies from resolution.
|
MavenProject getMavenProject()
null
if not set.DependencyResolutionRequest setMavenProject(MavenProject project)
project
- The project to resolve dependencies for, may be null
.null
.DependencyFilter getResolutionFilter()
null
to resolve all dependencies.DependencyResolutionRequest setResolutionFilter(DependencyFilter filter)
filter
- The filter to exclude dependencies from resolution, may be null
to resolve all
dependencies.null
.RepositorySystemSession getRepositorySession()
null
if not set.DependencyResolutionRequest setRepositorySession(RepositorySystemSession repositorySession)
repositorySession
- The repository session to use.null
.Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.