|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of MavenSession in org.apache.maven |
---|
Methods in org.apache.maven with parameters of type MavenSession | |
---|---|
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)
|
Uses of MavenSession in org.apache.maven.artifact.repository |
---|
Methods in org.apache.maven.artifact.repository with parameters of type MavenSession | |
---|---|
static RepositoryRequest |
DefaultRepositoryRequest.getRepositoryRequest(MavenSession session,
MavenProject project)
|
Uses of MavenSession in org.apache.maven.execution |
---|
Methods in org.apache.maven.execution that return MavenSession | |
---|---|
MavenSession |
MavenSession.clone()
|
MavenSession |
ExecutionEvent.getSession()
Gets the session from which this event originates. |
Uses of MavenSession in org.apache.maven.lifecycle |
---|
Uses of MavenSession in org.apache.maven.lifecycle.internal |
---|
Methods in org.apache.maven.lifecycle.internal that return MavenSession | |
---|---|
MavenSession |
ProjectSegment.getSession()
|
Methods in org.apache.maven.lifecycle.internal with parameters of type MavenSession | |
---|---|
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 |
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,
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)
|
Constructors in org.apache.maven.lifecycle.internal with parameters of type MavenSession | |
---|---|
ProjectSegment(MavenProject project,
TaskSegment taskSegment,
MavenSession copiedSession)
|
Uses of MavenSession in org.apache.maven.plugin |
---|
Methods in org.apache.maven.plugin that return MavenSession | |
---|---|
MavenSession |
LegacySupport.getSession()
Gets the currently active session. |
Methods in org.apache.maven.plugin with parameters of type MavenSession | ||
---|---|---|
void |
PluginManager.executeMojo(MavenProject project,
MojoExecution execution,
MavenSession session)
Deprecated. |
|
void |
DefaultBuildPluginManager.executeMojo(MavenSession session,
MojoExecution mojoExecution)
|
|
void |
BuildPluginManager.executeMojo(MavenSession session,
MojoExecution execution)
|
|
|
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,
org.sonatype.aether.graph.DependencyFilter filter)
Sets up the class realm for the specified plugin. |
Constructors in org.apache.maven.plugin with parameters of type MavenSession | |
---|---|
PluginParameterExpressionEvaluator(MavenSession session)
|
|
PluginParameterExpressionEvaluator(MavenSession session,
MojoExecution mojoExecution)
|
|
PluginParameterExpressionEvaluator(MavenSession session,
MojoExecution mojoExecution,
PathTranslator pathTranslator,
Logger logger,
MavenProject project,
Properties properties)
Deprecated. |
Uses of MavenSession in org.apache.maven.plugin.internal |
---|
Methods in org.apache.maven.plugin.internal that return MavenSession | |
---|---|
MavenSession |
DefaultLegacySupport.getSession()
|
Methods in org.apache.maven.plugin.internal with parameters of type MavenSession | ||
---|---|---|
void |
DefaultPluginManager.executeMojo(MavenProject project,
MojoExecution execution,
MavenSession session)
|
|
|
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.sonatype.aether.graph.DependencyFilter filter)
|
Uses of MavenSession in org.apache.maven.plugin.prefix |
---|
Constructors in org.apache.maven.plugin.prefix with parameters of type MavenSession | |
---|---|
DefaultPluginPrefixRequest(String prefix,
MavenSession session)
Creates a request for the specified plugin prefix and build session. |
Uses of MavenSession in org.apache.maven.plugin.version |
---|
Constructors in org.apache.maven.plugin.version with parameters of type MavenSession | |
---|---|
DefaultPluginVersionRequest(Plugin plugin,
MavenSession session)
Creates a request for the specified plugin by copying settings from the specified build session. |
Uses of MavenSession in org.apache.maven.toolchain |
---|
Methods in org.apache.maven.toolchain with parameters of type MavenSession | |
---|---|
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)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |