Package org.basepom.mojo.dvc
Interface Context
- All Known Implementing Classes:
AbstractDependencyVersionsMojo
,DependencyVersionsCheckMojo
,DependencyVersionsListMojo
public interface Context
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.maven.project.ProjectBuildingRequest
org.eclipse.aether.resolution.VersionRangeRequest
createVersionRangeRequest
(org.eclipse.aether.artifact.Artifact artifact) org.apache.maven.project.ProjectBuilder
org.apache.maven.project.ProjectDependenciesResolver
List
<org.apache.maven.project.MavenProject> org.eclipse.aether.RepositorySystem
org.eclipse.aether.RepositorySystemSession
org.apache.maven.project.MavenProject
boolean
boolean
boolean
boolean
-
Method Details
-
isUnresolvedSystemArtifactsFailBuild
boolean isUnresolvedSystemArtifactsFailBuild()- Returns:
- True if any unresolved system artifacts should fail the build.
-
useFastResolution
boolean useFastResolution()- Returns:
- True if the resolver should use multiple threads.
-
useDeepScan
boolean useDeepScan()- Returns:
- True if a deep scan should be performed instead of regular scan.
-
isOptionalDependenciesMustExist
boolean isOptionalDependenciesMustExist()- Returns:
- True if all optional dependencies must exist.
-
getExclusions
- Returns:
- All configured exclusions.
-
getStrategyCache
- Returns:
- The lookup cache for the Strategy resolution
-
getProjectBuilder
org.apache.maven.project.ProjectBuilder getProjectBuilder()- Returns:
- The Maven project builder.
-
getProjectDependenciesResolver
org.apache.maven.project.ProjectDependenciesResolver getProjectDependenciesResolver()- Returns:
- The Maven project dependency resolver.
-
getRootProject
org.apache.maven.project.MavenProject getRootProject()- Returns:
- The root project.
-
getReactorProjects
List<org.apache.maven.project.MavenProject> getReactorProjects()- Returns:
- All projects that are in the current reactor.
-
getRepositorySystemSession
org.eclipse.aether.RepositorySystemSession getRepositorySystemSession()- Returns:
- The repository session
-
getRepositorySystem
org.eclipse.aether.RepositorySystem getRepositorySystem()- Returns:
- The repository system for dependency resolution.
-
createProjectBuildingRequest
org.apache.maven.project.ProjectBuildingRequest createProjectBuildingRequest()- Returns:
- A new project building request.
-
createVersionRangeRequest
org.eclipse.aether.resolution.VersionRangeRequest createVersionRangeRequest(org.eclipse.aether.artifact.Artifact artifact) - Parameters:
artifact
- The artifact to define the version range resolution request.- Returns:
- A version range resolution request.
-