Modifier and Type | Method and Description |
---|---|
void |
AbstractMavenLifecycleParticipant.afterProjectsRead(MavenSession session)
Invoked after all MavenProject instances have been created.
|
void |
AbstractMavenLifecycleParticipant.afterSessionStart(MavenSession session)
Invoked after MavenSession instance has been created.
|
Set<Artifact> |
ProjectDependenciesResolver.resolve(Collection<? extends MavenProject> projects,
Collection<String> scopes,
MavenSession session)
Resolves the transitive dependencies of the specified projects.
|
Set<Artifact> |
DefaultProjectDependenciesResolver.resolve(Collection<? extends MavenProject> projects,
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> |
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> scopesToCollect,
Collection<String> scopesToResolve,
MavenSession session,
Set<Artifact> ignoreableArtifacts) |
Set<Artifact> |
ProjectDependenciesResolver.resolve(MavenProject project,
Collection<String> scopesToResolve,
MavenSession session)
Resolves the transitive dependencies of the specified project.
|
Set<Artifact> |
DefaultProjectDependenciesResolver.resolve(MavenProject project,
Collection<String> scopesToResolve,
MavenSession session) |
Modifier and Type | Method and Description |
---|---|
static RepositoryRequest |
DefaultRepositoryRequest.getRepositoryRequest(MavenSession session,
MavenProject project) |
Modifier and Type | Method and Description |
---|---|
MavenSession |
MavenSession.clone() |
MavenSession |
ExecutionEvent.getSession()
Gets the session from which this event originates.
|
Modifier and Type | Method and Description |
---|---|
MavenExecutionPlan |
LifecycleExecutor.calculateExecutionPlan(MavenSession session,
boolean setup,
String... tasks) |
MavenExecutionPlan |
DefaultLifecycleExecutor.calculateExecutionPlan(MavenSession session,
boolean setup,
String... tasks) |
MavenExecutionPlan |
LifecycleExecutor.calculateExecutionPlan(MavenSession session,
String... tasks) |
MavenExecutionPlan |
DefaultLifecycleExecutor.calculateExecutionPlan(MavenSession session,
String... tasks) |
void |
LifecycleExecutor.calculateForkedExecutions(MojoExecution mojoExecution,
MavenSession session) |
void |
DefaultLifecycleExecutor.calculateForkedExecutions(MojoExecution mojoExecution,
MavenSession session) |
void |
LifecycleExecutor.execute(MavenSession session) |
void |
DefaultLifecycleExecutor.execute(MavenSession session) |
List<MavenProject> |
LifecycleExecutor.executeForkedExecutions(MojoExecution mojoExecution,
MavenSession session) |
List<MavenProject> |
DefaultLifecycleExecutor.executeForkedExecutions(MojoExecution mojoExecution,
MavenSession session) |
Modifier and Type | Method and Description |
---|---|
MavenSession |
ProjectSegment.getSession() |
Modifier and Type | Method and Description |
---|---|
void |
LifecycleThreadedBuilder.build(MavenSession session,
ReactorContext reactorContext,
ProjectBuildList projectBuilds,
List<TaskSegment> currentTaskSegment,
ConcurrencyDependencyGraph analyzer,
CompletionService<ProjectSegment> service) |
void |
LifecycleWeaveBuilder.build(ProjectBuildList projectBuilds,
ReactorContext buildContext,
List<TaskSegment> taskSegments,
MavenSession session,
ExecutorService executor,
ReactorBuildStatus reactorBuildStatus) |
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) |
List<MojoExecution> |
DefaultLifecycleExecutionPlanCalculator.calculateMojoExecutions(MavenSession session,
MavenProject project,
List<Object> tasks) |
ProjectBuildList |
BuildListCalculator.calculateProjectBuilds(MavenSession session,
List<TaskSegment> taskSegments) |
List<TaskSegment> |
LifecycleTaskSegmentCalculator.calculateTaskSegments(MavenSession session) |
List<TaskSegment> |
DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(MavenSession session) |
List<TaskSegment> |
LifecycleTaskSegmentCalculator.calculateTaskSegments(MavenSession session,
List<String> tasks) |
List<TaskSegment> |
DefaultLifecycleTaskSegmentCalculator.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 |
ExecutionEventCatapult.fire(ExecutionEvent.Type eventType,
MavenSession session,
MojoExecution mojoExecution) |
void |
DefaultExecutionEventCatapult.fire(ExecutionEvent.Type eventType,
MavenSession session,
MojoExecution mojoExecution) |
void |
ExecutionEventCatapult.fire(ExecutionEvent.Type eventType,
MavenSession session,
MojoExecution mojoExecution,
Exception exception) |
void |
DefaultExecutionEventCatapult.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) |
void |
BuilderCommon.handleBuildError(ReactorContext buildContext,
MavenSession rootSession,
MavenSession currentSession,
MavenProject mavenProject,
Exception e,
long buildStartTime) |
void |
LifecycleDebugLogger.logWeavePlan(MavenSession session) |
DependencyContext |
MojoExecutor.newDependencyContext(MavenSession session,
List<MojoExecution> mojoExecutions) |
boolean |
LifecycleTaskSegmentCalculator.requiresProject(MavenSession session) |
boolean |
DefaultLifecycleTaskSegmentCalculator.requiresProject(MavenSession session) |
MavenExecutionPlan |
BuilderCommon.resolveBuildPlan(MavenSession session,
MavenProject project,
TaskSegment taskSegment,
Set<Artifact> projectArtifacts) |
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 |
---|---|
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.
|
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.
|
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,
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,
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,
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 |
ToolchainManager.getToolchainFromBuildContext(String type,
MavenSession context)
to be used from plugins capable of working with toolchains.
|
Toolchain |
DefaultToolchainManager.getToolchainFromBuildContext(String type,
MavenSession session) |
ToolchainPrivate[] |
ToolchainManagerPrivate.getToolchainsForType(String type,
MavenSession context)
Retrieves the toolchains of given type from the user settings.
|
ToolchainPrivate[] |
DefaultToolchainManagerPrivate.getToolchainsForType(String type,
MavenSession context) |
void |
ToolchainManagerPrivate.storeToolchainToBuildContext(ToolchainPrivate toolchain,
MavenSession context)
Stores the toolchain into build context.
|
void |
DefaultToolchainManagerPrivate.storeToolchainToBuildContext(ToolchainPrivate toolchain,
MavenSession session) |
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.