Modifier and Type | Method and Description |
---|---|
void |
AbstractMavenLifecycleParticipant.afterProjectsRead(MavenSession session)
Invoked after all MavenProject instances have been created.
|
void |
AbstractMavenLifecycleParticipant.afterSessionEnd(MavenSession session)
Invoked after all projects were built.
|
void |
AbstractMavenLifecycleParticipant.afterSessionStart(MavenSession session)
Invoked after MavenSession instance has been created.
|
Set<Artifact> |
DefaultProjectDependenciesResolver.resolve(Collection<? extends MavenProject> projects,
Collection<String> scopesToResolve,
MavenSession session)
Deprecated.
|
Set<Artifact> |
ProjectDependenciesResolver.resolve(Collection<? extends MavenProject> projects,
Collection<String> scopes,
MavenSession session)
Deprecated.
Resolves the transitive dependencies of the specified projects.
|
Set<Artifact> |
DefaultProjectDependenciesResolver.resolve(MavenProject project,
Collection<String> scopesToCollect,
Collection<String> scopesToResolve,
MavenSession session)
Deprecated.
|
Set<Artifact> |
ProjectDependenciesResolver.resolve(MavenProject project,
Collection<String> scopesToCollect,
Collection<String> scopesToResolve,
MavenSession session)
Deprecated.
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)
Deprecated.
|
Set<Artifact> |
ProjectDependenciesResolver.resolve(MavenProject project,
Collection<String> scopesToCollect,
Collection<String> scopesToResolve,
MavenSession session,
Set<Artifact> ignoreableArtifacts)
Deprecated.
Resolves the transitive dependencies of the specified project.
|
Set<Artifact> |
DefaultProjectDependenciesResolver.resolve(MavenProject project,
Collection<String> scopesToResolve,
MavenSession session)
Deprecated.
|
Set<Artifact> |
ProjectDependenciesResolver.resolve(MavenProject project,
Collection<String> scopesToResolve,
MavenSession session)
Deprecated.
Resolves the transitive dependencies of the specified project.
|
Modifier and Type | Method and Description |
---|---|
static RepositoryRequest |
DefaultRepositoryRequest.getRepositoryRequest(MavenSession session,
MavenProject project) |
Modifier and Type | Method and Description |
---|---|
MavenSession |
MavenSession.clone() |
MavenSession |
MojoExecutionEvent.getSession() |
MavenSession |
ProjectExecutionEvent.getSession() |
MavenSession |
ExecutionEvent.getSession()
Gets the session from which this event originates.
|
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
Result<ProjectDependencyGraph> |
DefaultGraphBuilder.build(MavenSession session) |
Result<? extends ProjectDependencyGraph> |
GraphBuilder.build(MavenSession session) |
Modifier and Type | Method and Description |
---|---|
MavenExecutionPlan |
DefaultLifecycleExecutor.calculateExecutionPlan(MavenSession session,
boolean setup,
String... tasks) |
MavenExecutionPlan |
LifecycleExecutor.calculateExecutionPlan(MavenSession session,
boolean setup,
String... tasks) |
MavenExecutionPlan |
DefaultLifecycleExecutor.calculateExecutionPlan(MavenSession session,
String... tasks) |
MavenExecutionPlan |
LifecycleExecutor.calculateExecutionPlan(MavenSession session,
String... tasks) |
void |
DefaultLifecycleExecutor.calculateForkedExecutions(MojoExecution mojoExecution,
MavenSession session) |
void |
LifecycleExecutor.calculateForkedExecutions(MojoExecution mojoExecution,
MavenSession session) |
Map<String,List<MojoExecution>> |
LifecycleMappingDelegate.calculateLifecycleMappings(MavenSession session,
MavenProject project,
Lifecycle lifecycle,
String lifecyclePhase) |
void |
DefaultLifecycleExecutor.execute(MavenSession session) |
void |
LifecycleExecutor.execute(MavenSession session) |
List<MavenProject> |
DefaultLifecycleExecutor.executeForkedExecutions(MojoExecution mojoExecution,
MavenSession session) |
List<MavenProject> |
LifecycleExecutor.executeForkedExecutions(MojoExecution mojoExecution,
MavenSession session) |
Modifier and Type | Method and Description |
---|---|
MavenSession |
ProjectSegment.getSession() |
Modifier and Type | Method and Description |
---|---|
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) |
void |
LifecycleExecutionPlanCalculator.calculateForkedExecutions(MojoExecution mojoExecution,
MavenSession session) |
void |
DefaultLifecycleExecutionPlanCalculator.calculateForkedExecutions(MojoExecution mojoExecution,
MavenSession session) |
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) |
ProjectBuildList |
BuildListCalculator.calculateProjectBuilds(MavenSession session,
List<TaskSegment> taskSegments) |
List<TaskSegment> |
DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(MavenSession session) |
List<TaskSegment> |
LifecycleTaskSegmentCalculator.calculateTaskSegments(MavenSession session) |
List<TaskSegment> |
DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(MavenSession session,
List<String> tasks) |
List<TaskSegment> |
LifecycleTaskSegmentCalculator.calculateTaskSegments(MavenSession session,
List<String> tasks) |
void |
MojoExecutor.ensureDependenciesAreResolved(MojoDescriptor mojoDescriptor,
MavenSession session,
DependencyContext dependencyContext) |
void |
LifecycleStarter.execute(MavenSession session) |
void |
MojoExecutor.execute(MavenSession session,
List<MojoExecution> mojoExecutions,
ProjectIndex projectIndex) |
void |
MojoExecutor.execute(MavenSession session,
MojoExecution mojoExecution,
ProjectIndex projectIndex,
DependencyContext dependencyContext,
PhaseRecorder phaseRecorder) |
List<MavenProject> |
MojoExecutor.executeForkedExecutions(MojoExecution mojoExecution,
MavenSession session,
ProjectIndex projectIndex) |
Plugin |
MojoDescriptorCreator.findPluginForPrefix(String prefix,
MavenSession session) |
void |
DefaultExecutionEventCatapult.fire(ExecutionEvent.Type eventType,
MavenSession session,
MojoExecution mojoExecution) |
void |
ExecutionEventCatapult.fire(ExecutionEvent.Type eventType,
MavenSession session,
MojoExecution mojoExecution) |
void |
DefaultExecutionEventCatapult.fire(ExecutionEvent.Type eventType,
MavenSession session,
MojoExecution mojoExecution,
Exception exception) |
void |
ExecutionEventCatapult.fire(ExecutionEvent.Type eventType,
MavenSession session,
MojoExecution mojoExecution,
Exception exception) |
MojoDescriptor |
MojoDescriptorCreator.getMojoDescriptor(String task,
MavenSession session,
MavenProject project) |
static List<MavenProject> |
LifecycleDependencyResolver.getProjects(MavenProject project,
MavenSession session,
boolean aggregator) |
DependencyContext |
MojoExecutor.newDependencyContext(MavenSession session,
List<MojoExecution> mojoExecutions) |
boolean |
DefaultLifecycleTaskSegmentCalculator.requiresProject(MavenSession session) |
boolean |
LifecycleTaskSegmentCalculator.requiresProject(MavenSession session) |
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 |
---|
ProjectSegment(MavenProject project,
TaskSegment taskSegment,
MavenSession copiedSession) |
Modifier and Type | Method and Description |
---|---|
void |
Builder.build(MavenSession session,
ReactorContext reactorContext,
ProjectBuildList projectBuilds,
List<TaskSegment> taskSegments,
ReactorBuildStatus reactorBuildStatus) |
void |
BuilderCommon.handleBuildError(ReactorContext buildContext,
MavenSession rootSession,
MavenSession currentSession,
MavenProject mavenProject,
Throwable t,
long buildStartTime) |
MavenExecutionPlan |
BuilderCommon.resolveBuildPlan(MavenSession session,
MavenProject project,
TaskSegment taskSegment,
Set<Artifact> projectArtifacts) |
Modifier and Type | Method and Description |
---|---|
void |
MultiThreadedBuilder.build(MavenSession session,
ReactorContext reactorContext,
ProjectBuildList projectBuilds,
List<TaskSegment> taskSegments,
ReactorBuildStatus reactorBuildStatus) |
Modifier and Type | Method and Description |
---|---|
void |
SingleThreadedBuilder.build(MavenSession session,
ReactorContext reactorContext,
ProjectBuildList projectBuilds,
List<TaskSegment> taskSegments,
ReactorBuildStatus reactorBuildStatus) |
Modifier and Type | Method and Description |
---|---|
MavenSession |
LegacySupport.getSession()
Gets the currently active session.
|
Modifier and Type | Method and Description |
---|---|
void |
PluginManager.executeMojo(MavenProject project,
MojoExecution execution,
MavenSession session)
Deprecated.
|
void |
DefaultBuildPluginManager.executeMojo(MavenSession session,
MojoExecution mojoExecution) |
void |
BuildPluginManager.executeMojo(MavenSession session,
MojoExecution execution) |
<T> T |
MavenPluginManager.getConfiguredMojo(Class<T> mojoInterface,
MavenSession session,
MojoExecution mojoExecution)
Looks up the mojo for the specified mojo execution and populates its parameters from the configuration given by
the mojo execution.
|
Plugin |
PluginManager.getPluginDefinitionForPrefix(String prefix,
MavenSession session,
MavenProject project)
Deprecated.
|
org.codehaus.plexus.classworlds.realm.ClassRealm |
DefaultBuildPluginManager.getPluginRealm(MavenSession session,
PluginDescriptor pluginDescriptor)
TODO pluginDescriptor classRealm and artifacts are set as a side effect of this
call, which is not nice.
|
org.codehaus.plexus.classworlds.realm.ClassRealm |
BuildPluginManager.getPluginRealm(MavenSession session,
PluginDescriptor pluginDescriptor) |
PluginDescriptor |
PluginManager.loadPluginDescriptor(Plugin plugin,
MavenProject project,
MavenSession session)
Deprecated.
|
PluginDescriptor |
PluginManager.loadPluginFully(Plugin plugin,
MavenProject project,
MavenSession session)
Deprecated.
|
void |
LegacySupport.setSession(MavenSession session)
Sets the currently active session.
|
void |
MavenPluginManager.setupPluginRealm(PluginDescriptor pluginDescriptor,
MavenSession session,
ClassLoader parent,
List<String> imports,
org.eclipse.aether.graph.DependencyFilter filter)
Sets up the class realm for the specified plugin.
|
Constructor and Description |
---|
PluginParameterExpressionEvaluator(MavenSession session) |
PluginParameterExpressionEvaluator(MavenSession session,
MojoExecution mojoExecution) |
PluginParameterExpressionEvaluator(MavenSession session,
MojoExecution mojoExecution,
PathTranslator pathTranslator,
org.codehaus.plexus.logging.Logger logger,
MavenProject project,
Properties properties)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
MavenSession |
DefaultLegacySupport.getSession() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultPluginManager.executeMojo(MavenProject project,
MojoExecution execution,
MavenSession session) |
<T> T |
DefaultMavenPluginManager.getConfiguredMojo(Class<T> mojoInterface,
MavenSession session,
MojoExecution mojoExecution) |
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) |
void |
DefaultLegacySupport.setSession(MavenSession session) |
void |
DefaultMavenPluginManager.setupPluginRealm(PluginDescriptor pluginDescriptor,
MavenSession session,
ClassLoader parent,
List<String> imports,
org.eclipse.aether.graph.DependencyFilter filter) |
Constructor and Description |
---|
DefaultPluginPrefixRequest(String prefix,
MavenSession session)
Creates a request for the specified plugin prefix and build session.
|
Constructor and Description |
---|
DefaultPluginVersionRequest(Plugin plugin,
MavenSession session)
Creates a request for the specified plugin by copying settings from the specified build session.
|
Modifier and Type | Method and Description |
---|---|
Toolchain |
DefaultToolchainManager.getToolchainFromBuildContext(String type,
MavenSession session) |
Toolchain |
ToolchainManager.getToolchainFromBuildContext(String type,
MavenSession context)
Retrieve toolchain of specified type from build context.
|
List<Toolchain> |
DefaultToolchainManager.getToolchains(MavenSession session,
String type,
Map<String,String> requirements) |
List<Toolchain> |
ToolchainManager.getToolchains(MavenSession session,
String type,
Map<String,String> requirements)
Select all toolchains available in user settings matching the type and requirements,
independently from
maven-toolchains-plugin . |
ToolchainPrivate[] |
ToolchainManagerPrivate.getToolchainsForType(String type,
MavenSession context)
Retrieves every toolchains of given type available in user settings.
|
ToolchainPrivate[] |
DefaultToolchainManagerPrivate.getToolchainsForType(String type,
MavenSession context) |
void |
ToolchainManagerPrivate.storeToolchainToBuildContext(ToolchainPrivate toolchain,
MavenSession context)
Stores the toolchain into build context for later use by toolchain-aware plugins.
|
void |
DefaultToolchainManagerPrivate.storeToolchainToBuildContext(ToolchainPrivate toolchain,
MavenSession session) |
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.