Modifier and Type | Method and Description |
---|---|
Set<Artifact> |
DefaultProjectDependenciesResolver.resolve(MavenProject project,
Collection<String> scopesToCollect,
Collection<String> scopesToResolve,
MavenSession session) |
Set<Artifact> |
ProjectDependenciesResolver.resolve(MavenProject project,
Collection<String> scopesToCollect,
Collection<String> scopesToResolve,
MavenSession session)
Resolves the transitive dependencies of the specified project.
|
Set<Artifact> |
DefaultProjectDependenciesResolver.resolve(MavenProject project,
Collection<String> scopesToCollect,
Collection<String> scopesToResolve,
MavenSession session,
Set<Artifact> ignoreableArtifacts) |
Set<Artifact> |
ProjectDependenciesResolver.resolve(MavenProject project,
Collection<String> scopesToCollect,
Collection<String> scopesToResolve,
MavenSession session,
Set<Artifact> ignoreableArtifacts)
Resolves the transitive dependencies of the specified project.
|
Set<Artifact> |
DefaultProjectDependenciesResolver.resolve(MavenProject project,
Collection<String> scopesToResolve,
MavenSession session) |
Set<Artifact> |
ProjectDependenciesResolver.resolve(MavenProject project,
Collection<String> scopesToResolve,
MavenSession session)
Resolves the transitive dependencies of the specified project.
|
Modifier and Type | Method and Description |
---|---|
Set<Artifact> |
DefaultProjectDependenciesResolver.resolve(Collection<? extends MavenProject> projects,
Collection<String> scopesToResolve,
MavenSession session) |
Set<Artifact> |
ProjectDependenciesResolver.resolve(Collection<? extends MavenProject> projects,
Collection<String> scopes,
MavenSession session)
Resolves the transitive dependencies of the specified projects.
|
Modifier and Type | Method and Description |
---|---|
static RepositoryRequest |
DefaultRepositoryRequest.getRepositoryRequest(MavenSession session,
MavenProject project) |
Modifier and Type | Method and Description |
---|---|
MavenProject |
MavenSession.getCurrentProject() |
MavenProject |
BuildSummary.getProject()
Gets the project being summarized.
|
MavenProject |
MojoExecutionEvent.getProject() |
MavenProject |
ProjectExecutionEvent.getProject() |
MavenProject |
DefaultMavenExecutionResult.getProject() |
MavenProject |
ExecutionEvent.getProject()
Gets the current project (if any).
|
MavenProject |
MavenExecutionResult.getProject() |
MavenProject |
MavenSession.getTopLevelProject() |
Modifier and Type | Method and Description |
---|---|
List<MavenProject> |
MavenSession.getAllProjects()
This is a provisional method and may be removed
|
List<MavenProject> |
ProjectDependencyGraph.getDownstreamProjects(MavenProject project,
boolean transitive)
Gets the downstream projects of the specified project.
|
Map<String,MavenProject> |
MavenSession.getProjectMap() |
List<MavenProject> |
MavenSession.getProjects() |
List<MavenProject> |
ReactorManager.getSortedProjects()
Deprecated.
|
List<MavenProject> |
ProjectDependencyGraph.getSortedProjects()
Gets all projects in their intended build order, i.e. after topologically sorting the projects according to their
inter-dependencies.
|
List<MavenProject> |
MavenSession.getSortedProjects()
Deprecated.
|
List<MavenProject> |
DefaultMavenExecutionResult.getTopologicallySortedProjects() |
List<MavenProject> |
MavenExecutionResult.getTopologicallySortedProjects() |
List<MavenProject> |
ProjectDependencyGraph.getUpstreamProjects(MavenProject project,
boolean transitive)
Gets the upstream projects of the specified project.
|
Modifier and Type | Method and Description |
---|---|
void |
ReactorManager.blackList(MavenProject project)
Deprecated.
|
BuildFailure |
ReactorManager.getBuildFailure(MavenProject project)
Deprecated.
|
BuildSuccess |
ReactorManager.getBuildSuccess(MavenProject project)
Deprecated.
|
BuildSummary |
DefaultMavenExecutionResult.getBuildSummary(MavenProject project) |
BuildSummary |
MavenExecutionResult.getBuildSummary(MavenProject project)
Gets the build summary for the specified project.
|
List<MavenProject> |
ProjectDependencyGraph.getDownstreamProjects(MavenProject project,
boolean transitive)
Gets the downstream projects of the specified project.
|
Map |
ReactorManager.getPluginContext(PluginDescriptor plugin,
MavenProject project)
Deprecated.
|
Map<String,Object> |
MavenSession.getPluginContext(PluginDescriptor plugin,
MavenProject project) |
List<MavenProject> |
ProjectDependencyGraph.getUpstreamProjects(MavenProject project,
boolean transitive)
Gets the upstream projects of the specified project.
|
boolean |
ReactorManager.hasBuildFailure(MavenProject project)
Deprecated.
|
boolean |
ReactorManager.hasBuildSuccess(MavenProject project)
Deprecated.
|
boolean |
ReactorManager.isBlackListed(MavenProject project)
Deprecated.
|
void |
ReactorManager.registerBuildFailure(MavenProject project,
Exception error,
String task,
long time)
Deprecated.
|
void |
ReactorManager.registerBuildSuccess(MavenProject project,
long time)
Deprecated.
|
void |
MavenSession.setCurrentProject(MavenProject currentProject) |
MavenExecutionResult |
DefaultMavenExecutionResult.setProject(MavenProject project) |
MavenExecutionResult |
MavenExecutionResult.setProject(MavenProject project) |
Modifier and Type | Method and Description |
---|---|
void |
MavenSession.setAllProjects(List<MavenProject> allProjects)
This is a provisional method and may be removed
|
void |
MavenSession.setProjectMap(Map<String,MavenProject> projectMap) |
void |
MavenSession.setProjects(List<MavenProject> projects) |
MavenExecutionResult |
DefaultMavenExecutionResult.setTopologicallySortedProjects(List<MavenProject> topologicallySortedProjects) |
MavenExecutionResult |
MavenExecutionResult.setTopologicallySortedProjects(List<MavenProject> projects) |
Constructor and Description |
---|
BuildFailure(MavenProject project,
long time,
Throwable cause)
Creates a new build summary for the specified project.
|
BuildSuccess(MavenProject project,
long time)
Creates a new build summary for the specified project.
|
BuildSummary(MavenProject project,
long time)
Creates a new build summary for the specified project.
|
MavenSession(PlexusContainer container,
MavenExecutionRequest request,
MavenExecutionResult result,
MavenProject project)
Deprecated.
|
MojoExecutionEvent(MavenSession session,
MavenProject project,
MojoExecution mojoExecution,
Mojo mojo) |
MojoExecutionEvent(MavenSession session,
MavenProject project,
MojoExecution mojoExecution,
Mojo mojo,
Throwable cause) |
ProjectExecutionEvent(MavenSession session,
MavenProject project) |
ProjectExecutionEvent(MavenSession session,
MavenProject project,
List<MojoExecution> executionPlan) |
ProjectExecutionEvent(MavenSession session,
MavenProject project,
List<MojoExecution> executionPlan,
Throwable cause) |
ProjectExecutionEvent(MavenSession session,
MavenProject project,
Throwable cause) |
Constructor and Description |
---|
MavenSession(PlexusContainer container,
MavenExecutionRequest request,
MavenExecutionResult result,
List<MavenProject> projects)
Deprecated.
|
ReactorManager(List<MavenProject> projects)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
MavenProject |
LifecycleExecutionException.getProject() |
Modifier and Type | Method and Description |
---|---|
List<MavenProject> |
DefaultLifecycleExecutor.executeForkedExecutions(MojoExecution mojoExecution,
MavenSession session) |
List<MavenProject> |
LifecycleExecutor.executeForkedExecutions(MojoExecution mojoExecution,
MavenSession session) |
Modifier and Type | Method and Description |
---|---|
Map<String,List<MojoExecution>> |
LifecycleMappingDelegate.calculateLifecycleMappings(MavenSession session,
MavenProject project,
Lifecycle lifecycle,
String lifecyclePhase) |
Constructor and Description |
---|
LifecycleExecutionException(MojoExecution execution,
MavenProject project,
Throwable cause) |
LifecycleExecutionException(String message,
MavenProject project) |
LifecycleExecutionException(String message,
MojoExecution execution,
MavenProject project) |
LifecycleExecutionException(String message,
MojoExecution execution,
MavenProject project,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
MavenProject |
DependencyContext.getProject() |
MavenProject |
ProjectSegment.getProject() |
Modifier and Type | Method and Description |
---|---|
List<MavenProject> |
MojoExecutor.executeForkedExecutions(MojoExecution mojoExecution,
MavenSession session,
ProjectIndex projectIndex) |
List<MavenProject> |
ProjectSegment.getImmediateUpstreamProjects() |
Set<MavenProject> |
ProjectBuildList.getProjects() |
Map<String,MavenProject> |
ProjectIndex.getProjects() |
static List<MavenProject> |
LifecycleDependencyResolver.getProjects(MavenProject project,
MavenSession session,
boolean aggregator) |
List<MavenProject> |
ProjectSegment.getTransitiveUpstreamProjects() |
Map<MavenProject,ProjectSegment> |
ProjectBuildList.selectSegment(TaskSegment taskSegment) |
Modifier and Type | Method and Description |
---|---|
void |
ReactorBuildStatus.blackList(MavenProject project) |
void |
LifecycleModuleBuilder.buildProject(MavenSession session,
MavenSession rootSession,
ReactorContext reactorContext,
MavenProject currentProject,
TaskSegment taskSegment) |
void |
LifecycleModuleBuilder.buildProject(MavenSession session,
ReactorContext reactorContext,
MavenProject currentProject,
TaskSegment taskSegment) |
MavenExecutionPlan |
LifecycleExecutionPlanCalculator.calculateExecutionPlan(MavenSession session,
MavenProject project,
List<Object> tasks) |
MavenExecutionPlan |
DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(MavenSession session,
MavenProject project,
List<Object> tasks) |
MavenExecutionPlan |
LifecycleExecutionPlanCalculator.calculateExecutionPlan(MavenSession session,
MavenProject project,
List<Object> tasks,
boolean setup) |
MavenExecutionPlan |
DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(MavenSession session,
MavenProject project,
List<Object> tasks,
boolean setup) |
Map<String,List<MojoExecution>> |
DefaultLifecycleMappingDelegate.calculateLifecycleMappings(MavenSession session,
MavenProject project,
Lifecycle lifecycle,
String lifecyclePhase) |
List<MojoExecution> |
DefaultLifecycleExecutionPlanCalculator.calculateMojoExecutions(MavenSession session,
MavenProject project,
List<Object> tasks) |
static List<ExecutionPlanItem> |
ExecutionPlanItem.createExecutionPlanItems(MavenProject mavenProject,
List<MojoExecution> executions) |
void |
LifecycleDebugLogger.debugProjectPlan(MavenProject currentProject,
MavenExecutionPlan executionPlan) |
ProjectSegment |
ProjectBuildList.findByMavenProject(MavenProject mavenProject)
Finds the first ProjectSegment matching the supplied project
|
MojoDescriptor |
MojoDescriptorCreator.getMojoDescriptor(String task,
MavenSession session,
MavenProject project) |
static List<MavenProject> |
LifecycleDependencyResolver.getProjects(MavenProject project,
MavenSession session,
boolean aggregator) |
boolean |
ReactorBuildStatus.isBlackListed(MavenProject project) |
boolean |
ReactorBuildStatus.isHaltedOrBlacklisted(MavenProject mavenProject) |
void |
LifecyclePluginResolver.resolveMissingPluginVersions(MavenProject project,
MavenSession session) |
void |
LifecycleDependencyResolver.resolveProjectDependencies(MavenProject project,
Collection<String> scopesToCollect,
Collection<String> scopesToResolve,
MavenSession session,
boolean aggregating,
Set<Artifact> projectArtifacts) |
void |
LifecycleExecutionPlanCalculator.setupMojoExecution(MavenSession session,
MavenProject project,
MojoExecution mojoExecution) |
void |
DefaultLifecycleExecutionPlanCalculator.setupMojoExecution(MavenSession session,
MavenProject project,
MojoExecution mojoExecution) |
Constructor and Description |
---|
DependencyContext(MavenProject project,
Collection<String> scopesToCollect,
Collection<String> scopesToResolve) |
PhaseRecorder(MavenProject project) |
ProjectSegment(MavenProject project,
TaskSegment taskSegment,
MavenSession copiedSession) |
Constructor and Description |
---|
ProjectIndex(List<MavenProject> projects) |
Modifier and Type | Method and Description |
---|---|
static void |
BuilderCommon.attachToThread(MavenProject currentProject) |
static String |
BuilderCommon.getKey(MavenProject project) |
void |
BuilderCommon.handleBuildError(ReactorContext buildContext,
MavenSession rootSession,
MavenSession currentSession,
MavenProject mavenProject,
Exception e,
long buildStartTime) |
MavenExecutionPlan |
BuilderCommon.resolveBuildPlan(MavenSession session,
MavenProject project,
TaskSegment taskSegment,
Set<Artifact> projectArtifacts) |
Modifier and Type | Method and Description |
---|---|
List<MavenProject> |
ConcurrencyDependencyGraph.getActiveDependencies(MavenProject p)
|
protected List<MavenProject> |
ConcurrencyDependencyGraph.getDependencies(MavenProject p)
|
protected Set<MavenProject> |
ConcurrencyDependencyGraph.getFinishedProjects() |
List<MavenProject> |
ConcurrencyDependencyGraph.getRootSchedulableBuilds()
Gets all the builds that have no reactor-dependencies
|
Set<MavenProject> |
ConcurrencyDependencyGraph.getUnfinishedProjects() |
List<MavenProject> |
ConcurrencyDependencyGraph.markAsFinished(MavenProject mavenProject)
Marks the provided project as finished.
|
Modifier and Type | Method and Description |
---|---|
List<MavenProject> |
ConcurrencyDependencyGraph.getActiveDependencies(MavenProject p)
|
protected List<MavenProject> |
ConcurrencyDependencyGraph.getDependencies(MavenProject p)
|
List<MavenProject> |
ConcurrencyDependencyGraph.markAsFinished(MavenProject mavenProject)
Marks the provided project as finished.
|
Modifier and Type | Method and Description |
---|---|
MavenProject |
PluginManagerException.getProject() |
Modifier and Type | Method and Description |
---|---|
void |
PluginManager.executeMojo(MavenProject project,
MojoExecution execution,
MavenSession session)
Deprecated.
|
Plugin |
PluginManager.getPluginDefinitionForPrefix(String prefix,
MavenSession session,
MavenProject project)
Deprecated.
|
PluginDescriptor |
PluginManager.loadPluginDescriptor(Plugin plugin,
MavenProject project,
MavenSession session)
Deprecated.
|
PluginDescriptor |
PluginManager.loadPluginFully(Plugin plugin,
MavenProject project,
MavenSession session)
Deprecated.
|
void |
ExtensionRealmCache.register(MavenProject project,
ExtensionRealmCache.CacheRecord record)
Registers the specified cache record for usage with the given project.
|
void |
DefaultExtensionRealmCache.register(MavenProject project,
ExtensionRealmCache.CacheRecord record) |
void |
DefaultPluginArtifactsCache.register(MavenProject project,
PluginArtifactsCache.CacheRecord record) |
void |
PluginArtifactsCache.register(MavenProject project,
PluginArtifactsCache.CacheRecord record)
Registers the specified cache record for usage with the given project.
|
void |
DefaultPluginRealmCache.register(MavenProject project,
PluginRealmCache.CacheRecord record) |
void |
PluginRealmCache.register(MavenProject project,
PluginRealmCache.CacheRecord record)
Registers the specified cache record for usage with the given project.
|
PluginDescriptor |
PluginManager.verifyPlugin(Plugin plugin,
MavenProject project,
Settings settings,
ArtifactRepository localRepository)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultPluginManager.executeMojo(MavenProject project,
MojoExecution execution,
MavenSession session) |
Plugin |
DefaultPluginManager.getPluginDefinitionForPrefix(String prefix,
MavenSession session,
MavenProject project) |
PluginDescriptor |
DefaultPluginManager.loadPluginDescriptor(Plugin plugin,
MavenProject project,
MavenSession session) |
PluginDescriptor |
DefaultPluginManager.loadPluginFully(Plugin plugin,
MavenProject project,
MavenSession session) |
PluginDescriptor |
DefaultPluginManager.verifyPlugin(Plugin plugin,
MavenProject project,
Settings settings,
ArtifactRepository localRepository) |
Modifier and Type | Method and Description |
---|---|
MavenProject |
MavenProject.clone() |
MavenProject |
MavenProject.getExecutionProject() |
MavenProject |
DependencyResolutionRequest.getMavenProject()
Gets the project to resolve dependencies for.
|
MavenProject |
DefaultDependencyResolutionRequest.getMavenProject() |
MavenProject |
MavenProject.getParent()
Returns the project corresponding to a declared parent.
|
MavenProject |
DuplicateArtifactAttachmentException.getProject() |
MavenProject |
DefaultProjectBuildingRequest.getProject() |
MavenProject |
ProjectBuildingRequest.getProject() |
MavenProject |
ProjectBuildingResult.getProject()
Gets the project that was built.
|
MavenProject |
ProjectSorter.getTopLevelProject() |
Modifier and Type | Method and Description |
---|---|
List<MavenProject> |
MavenProject.getCollectedProjects() |
Map<String,MavenProject> |
ProjectSorter.getProjectMap() |
Map<String,MavenProject> |
MavenProject.getProjectReferences() |
List<MavenProject> |
ProjectSorter.getSortedProjects() |
Modifier and Type | Method and Description |
---|---|
void |
MavenProject.addProjectReference(MavenProject project) |
void |
MavenProjectHelper.addResource(MavenProject project,
String resourceDirectory,
List<String> includes,
List<String> excludes)
Add a resource directory to the project.
|
void |
DefaultMavenProjectHelper.addResource(MavenProject project,
String resourceDirectory,
List<String> includes,
List<String> excludes) |
void |
MavenProjectHelper.addTestResource(MavenProject project,
String resourceDirectory,
List<String> includes,
List<String> excludes)
Add a test resource directory to the project.
|
void |
DefaultMavenProjectHelper.addTestResource(MavenProject project,
String resourceDirectory,
List<String> includes,
List<String> excludes) |
void |
DefaultMavenProjectHelper.attachArtifact(MavenProject project,
Artifact artifact)
Add an attached artifact or replace the file for an existing artifact.
|
void |
MavenProjectHelper.attachArtifact(MavenProject project,
File artifactFile,
String artifactClassifier)
See
MavenProjectHelper.attachArtifact(MavenProject, String, String, java.io.File) , but with type set to null. |
void |
DefaultMavenProjectHelper.attachArtifact(MavenProject project,
File artifactFile,
String artifactClassifier) |
void |
MavenProjectHelper.attachArtifact(MavenProject project,
String artifactType,
File artifactFile)
* See
MavenProjectHelper.attachArtifact(MavenProject, String, String, java.io.File) , but with classifier set to null. |
void |
DefaultMavenProjectHelper.attachArtifact(MavenProject project,
String artifactType,
File artifactFile) |
void |
MavenProjectHelper.attachArtifact(MavenProject project,
String artifactType,
String artifactClassifier,
File artifactFile)
Add or replace an artifact to the current project.
|
void |
DefaultMavenProjectHelper.attachArtifact(MavenProject project,
String artifactType,
String artifactClassifier,
File artifactFile) |
ProjectRealmCache.CacheRecord |
DefaultProjectBuildingHelper.createProjectRealm(MavenProject project,
Model model,
ProjectBuildingRequest request) |
ProjectRealmCache.CacheRecord |
ProjectBuildingHelper.createProjectRealm(MavenProject project,
Model model,
ProjectBuildingRequest request)
Creates the project realm that hosts the build extensions of the specified model.
|
static String |
ProjectSorter.getId(MavenProject project) |
String |
MavenProject.getModulePathAdjustment(MavenProject moduleProject) |
void |
DefaultProjectRealmCache.register(MavenProject project,
ProjectRealmCache.CacheRecord record) |
void |
ProjectRealmCache.register(MavenProject project,
ProjectRealmCache.CacheRecord record)
Registers the specified cache record for usage with the given project.
|
void |
DefaultProjectBuildingHelper.selectProjectRealm(MavenProject project) |
void |
ProjectBuildingHelper.selectProjectRealm(MavenProject project)
Updates the context class loader such that the container will search the project realm when the model builder
injects the lifecycle bindings from the packaging in the next step.
|
void |
MavenProject.setExecutionProject(MavenProject executionProject) |
DependencyResolutionRequest |
DependencyResolutionRequest.setMavenProject(MavenProject project)
Sets the project to resolve dependencies for.
|
DependencyResolutionRequest |
DefaultDependencyResolutionRequest.setMavenProject(MavenProject project) |
void |
MavenProject.setParent(MavenProject parent) |
void |
DefaultProjectBuildingRequest.setProject(MavenProject mavenProject) |
void |
ProjectBuildingRequest.setProject(MavenProject mavenProject) |
Modifier and Type | Method and Description |
---|---|
void |
MavenProject.setCollectedProjects(List<MavenProject> collectedProjects) |
Constructor and Description |
---|
DefaultDependencyResolutionRequest(MavenProject project,
RepositorySystemSession session) |
DuplicateArtifactAttachmentException(MavenProject project,
Artifact artifact) |
MavenProject(MavenProject project)
Deprecated.
use
clone() so subclasses can provide a copy of the same class |
Constructor and Description |
---|
ProjectSorter(Collection<MavenProject> projects)
Sort a list of projects.
|
Modifier and Type | Method and Description |
---|---|
MavenProject |
ProjectArtifact.getProject() |
Modifier and Type | Method and Description |
---|---|
static Set<Artifact> |
MavenMetadataSource.createArtifacts(ArtifactFactory artifactFactory,
List<Dependency> dependencies,
String inheritedScope,
ArtifactFilter dependencyFilter,
MavenProject project)
Deprecated.
|
Constructor and Description |
---|
ActiveProjectArtifact(MavenProject project,
Artifact artifact)
Deprecated.
|
ProjectArtifact(MavenProject project) |
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.