Uses of Class
org.apache.maven.execution.MavenSession
Packages that use MavenSession
Package
Description
-
Uses of MavenSession in org.apache.maven
Methods in org.apache.maven with parameters of type MavenSessionModifier and TypeMethodDescriptionvoidAbstractMavenLifecycleParticipant.afterProjectsRead(MavenSession session) Invoked after all MavenProject instances have been created.voidAbstractMavenLifecycleParticipant.afterSessionEnd(MavenSession session) Invoked after all projects were built.voidAbstractMavenLifecycleParticipant.afterSessionStart(MavenSession session) Invoked after MavenSession instance has been created.DefaultProjectDependenciesResolver.resolve(Collection<? extends MavenProject> projects, Collection<String> scopesToResolve, MavenSession session) Deprecated.DefaultProjectDependenciesResolver.resolve(MavenProject project, Collection<String> scopesToCollect, Collection<String> scopesToResolve, MavenSession session) Deprecated.DefaultProjectDependenciesResolver.resolve(MavenProject project, Collection<String> scopesToCollect, Collection<String> scopesToResolve, MavenSession session, Set<Artifact> ignoreableArtifacts) Deprecated.DefaultProjectDependenciesResolver.resolve(MavenProject project, Collection<String> scopesToResolve, MavenSession session) Deprecated.ProjectDependenciesResolver.resolve(Collection<? extends MavenProject> projects, Collection<String> scopes, MavenSession session) Deprecated.Resolves the transitive dependencies of the specified projects.ProjectDependenciesResolver.resolve(MavenProject project, Collection<String> scopesToCollect, Collection<String> scopesToResolve, MavenSession session) Deprecated.Resolves the transitive dependencies of the specified project.ProjectDependenciesResolver.resolve(MavenProject project, Collection<String> scopesToCollect, Collection<String> scopesToResolve, MavenSession session, Set<Artifact> ignoreableArtifacts) Deprecated.Resolves the transitive dependencies of the specified project.ProjectDependenciesResolver.resolve(MavenProject project, Collection<String> scopesToResolve, MavenSession session) Deprecated.Resolves the transitive dependencies of the specified project. -
Uses of MavenSession in org.apache.maven.artifact.repository
Methods in org.apache.maven.artifact.repository with parameters of type MavenSessionModifier and TypeMethodDescriptionstatic RepositoryRequestDefaultRepositoryRequest.getRepositoryRequest(MavenSession session, MavenProject project) -
Uses of MavenSession in org.apache.maven.execution
Methods in org.apache.maven.execution that return MavenSessionModifier and TypeMethodDescriptionMavenSession.clone()ExecutionEvent.getSession()Gets the session from which this event originates.MojoExecutionEvent.getSession()ProjectExecutionEvent.getSession()Constructors in org.apache.maven.execution with parameters of type MavenSessionModifierConstructorDescriptionMojoExecutionEvent(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, Throwable cause) ProjectExecutionEvent(MavenSession session, MavenProject project, List<MojoExecution> executionPlan) ProjectExecutionEvent(MavenSession session, MavenProject project, List<MojoExecution> executionPlan, Throwable cause) -
Uses of MavenSession in org.apache.maven.graph
Methods in org.apache.maven.graph with parameters of type MavenSessionModifier and TypeMethodDescriptionDefaultGraphBuilder.build(MavenSession session) Result<? extends ProjectDependencyGraph>GraphBuilder.build(MavenSession session) -
Uses of MavenSession in org.apache.maven.lifecycle
Methods in org.apache.maven.lifecycle with parameters of type MavenSessionModifier and TypeMethodDescriptionDefaultLifecycleExecutor.calculateExecutionPlan(MavenSession session, boolean setup, String... tasks) DefaultLifecycleExecutor.calculateExecutionPlan(MavenSession session, String... tasks) LifecycleExecutor.calculateExecutionPlan(MavenSession session, boolean setup, String... tasks) LifecycleExecutor.calculateExecutionPlan(MavenSession session, String... tasks) voidDefaultLifecycleExecutor.calculateForkedExecutions(MojoExecution mojoExecution, MavenSession session) voidLifecycleExecutor.calculateForkedExecutions(MojoExecution mojoExecution, MavenSession session) LifecycleMappingDelegate.calculateLifecycleMappings(MavenSession session, MavenProject project, Lifecycle lifecycle, String lifecyclePhase) voidDefaultLifecycleExecutor.execute(MavenSession session) voidLifecycleExecutor.execute(MavenSession session) DefaultLifecycleExecutor.executeForkedExecutions(MojoExecution mojoExecution, MavenSession session) LifecycleExecutor.executeForkedExecutions(MojoExecution mojoExecution, MavenSession session) -
Uses of MavenSession in org.apache.maven.lifecycle.internal
Methods in org.apache.maven.lifecycle.internal that return MavenSessionMethods in org.apache.maven.lifecycle.internal with parameters of type MavenSessionModifier and TypeMethodDescriptionvoidLifecycleModuleBuilder.buildProject(MavenSession session, MavenSession rootSession, ReactorContext reactorContext, MavenProject currentProject, TaskSegment taskSegment) voidLifecycleModuleBuilder.buildProject(MavenSession session, ReactorContext reactorContext, MavenProject currentProject, TaskSegment taskSegment) DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(MavenSession session, MavenProject project, List<Object> tasks) DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(MavenSession session, MavenProject project, List<Object> tasks, boolean setup) LifecycleExecutionPlanCalculator.calculateExecutionPlan(MavenSession session, MavenProject project, List<Object> tasks) LifecycleExecutionPlanCalculator.calculateExecutionPlan(MavenSession session, MavenProject project, List<Object> tasks, boolean setup) voidDefaultLifecycleExecutionPlanCalculator.calculateForkedExecutions(MojoExecution mojoExecution, MavenSession session) voidLifecycleExecutionPlanCalculator.calculateForkedExecutions(MojoExecution mojoExecution, MavenSession session) DefaultLifecycleMappingDelegate.calculateLifecycleMappings(MavenSession session, MavenProject project, Lifecycle lifecycle, String lifecyclePhase) DefaultLifecycleExecutionPlanCalculator.calculateMojoExecutions(MavenSession session, MavenProject project, List<Object> tasks) BuildListCalculator.calculateProjectBuilds(MavenSession session, List<TaskSegment> taskSegments) DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(MavenSession session) DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(MavenSession session, List<String> tasks) LifecycleTaskSegmentCalculator.calculateTaskSegments(MavenSession session) LifecycleTaskSegmentCalculator.calculateTaskSegments(MavenSession session, List<String> tasks) voidMojoExecutor.ensureDependenciesAreResolved(MojoDescriptor mojoDescriptor, MavenSession session, DependencyContext dependencyContext) voidLifecycleStarter.execute(MavenSession session) voidMojoExecutor.execute(MavenSession session, List<MojoExecution> mojoExecutions, ProjectIndex projectIndex) MojoExecutor.executeForkedExecutions(MojoExecution mojoExecution, MavenSession session, ProjectIndex projectIndex) MojoDescriptorCreator.findPluginForPrefix(String prefix, MavenSession session) voidDefaultExecutionEventCatapult.fire(ExecutionEvent.Type eventType, MavenSession session, MojoExecution mojoExecution) voidDefaultExecutionEventCatapult.fire(ExecutionEvent.Type eventType, MavenSession session, MojoExecution mojoExecution, Exception exception) voidExecutionEventCatapult.fire(ExecutionEvent.Type eventType, MavenSession session, MojoExecution mojoExecution) voidExecutionEventCatapult.fire(ExecutionEvent.Type eventType, MavenSession session, MojoExecution mojoExecution, Exception exception) MojoDescriptorCreator.getMojoDescriptor(String task, MavenSession session, MavenProject project) static List<MavenProject>LifecycleDependencyResolver.getProjects(MavenProject project, MavenSession session, boolean aggregator) MojoExecutor.newDependencyContext(MavenSession session, List<MojoExecution> mojoExecutions) booleanDefaultLifecycleTaskSegmentCalculator.requiresProject(MavenSession session) booleanLifecycleTaskSegmentCalculator.requiresProject(MavenSession session) voidLifecyclePluginResolver.resolveMissingPluginVersions(MavenProject project, MavenSession session) voidLifecycleDependencyResolver.resolveProjectDependencies(MavenProject project, Collection<String> scopesToCollect, Collection<String> scopesToResolve, MavenSession session, boolean aggregating, Set<Artifact> projectArtifacts) voidDefaultLifecycleExecutionPlanCalculator.setupMojoExecution(MavenSession session, MavenProject project, MojoExecution mojoExecution) voidLifecycleExecutionPlanCalculator.setupMojoExecution(MavenSession session, MavenProject project, MojoExecution mojoExecution) Constructors in org.apache.maven.lifecycle.internal with parameters of type MavenSessionModifierConstructorDescriptionProjectSegment(MavenProject project, TaskSegment taskSegment, MavenSession copiedSession) -
Uses of MavenSession in org.apache.maven.lifecycle.internal.builder
Methods in org.apache.maven.lifecycle.internal.builder with parameters of type MavenSessionModifier and TypeMethodDescriptionvoidBuilder.build(MavenSession session, ReactorContext reactorContext, ProjectBuildList projectBuilds, List<TaskSegment> taskSegments, ReactorBuildStatus reactorBuildStatus) voidBuilderCommon.handleBuildError(ReactorContext buildContext, MavenSession rootSession, MavenSession currentSession, MavenProject mavenProject, Throwable t, long buildStartTime) BuilderCommon.resolveBuildPlan(MavenSession session, MavenProject project, TaskSegment taskSegment, Set<Artifact> projectArtifacts) -
Uses of MavenSession in org.apache.maven.lifecycle.internal.builder.multithreaded
Methods in org.apache.maven.lifecycle.internal.builder.multithreaded with parameters of type MavenSessionModifier and TypeMethodDescriptionvoidMultiThreadedBuilder.build(MavenSession session, ReactorContext reactorContext, ProjectBuildList projectBuilds, List<TaskSegment> taskSegments, ReactorBuildStatus reactorBuildStatus) -
Uses of MavenSession in org.apache.maven.lifecycle.internal.builder.singlethreaded
Methods in org.apache.maven.lifecycle.internal.builder.singlethreaded with parameters of type MavenSessionModifier and TypeMethodDescriptionvoidSingleThreadedBuilder.build(MavenSession session, ReactorContext reactorContext, ProjectBuildList projectBuilds, List<TaskSegment> taskSegments, ReactorBuildStatus reactorBuildStatus) -
Uses of MavenSession in org.apache.maven.plugin
Methods in org.apache.maven.plugin that return MavenSessionMethods in org.apache.maven.plugin with parameters of type MavenSessionModifier and TypeMethodDescriptionvoidDefaultMojosExecutionStrategy.execute(List<MojoExecution> mojos, MavenSession session, MojoExecutionRunner mojoRunner) voidMojosExecutionStrategy.execute(List<MojoExecution> mojos, MavenSession session, MojoExecutionRunner mojoExecutionRunner) Entry point to the execution strategyvoidBuildPluginManager.executeMojo(MavenSession session, MojoExecution execution) voidDefaultBuildPluginManager.executeMojo(MavenSession session, MojoExecution mojoExecution) voidPluginManager.executeMojo(MavenProject project, MojoExecution execution, MavenSession session) Deprecated.<T> TMavenPluginManager.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.PluginManager.getPluginDefinitionForPrefix(String prefix, MavenSession session, MavenProject project) Deprecated.org.codehaus.plexus.classworlds.realm.ClassRealmBuildPluginManager.getPluginRealm(MavenSession session, PluginDescriptor pluginDescriptor) org.codehaus.plexus.classworlds.realm.ClassRealmDefaultBuildPluginManager.getPluginRealm(MavenSession session, PluginDescriptor pluginDescriptor) TODO pluginDescriptor classRealm and artifacts are set as a side effect of this call, which is not nice.PluginManager.loadPluginDescriptor(Plugin plugin, MavenProject project, MavenSession session) Deprecated.PluginManager.loadPluginFully(Plugin plugin, MavenProject project, MavenSession session) Deprecated.voidLegacySupport.setSession(MavenSession session) Sets the currently active session.voidMavenPluginManager.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.Constructors in org.apache.maven.plugin with parameters of type MavenSessionModifierConstructorDescriptionPluginParameterExpressionEvaluator(MavenSession session, MojoExecution mojoExecution) PluginParameterExpressionEvaluator(MavenSession session, MojoExecution mojoExecution, PathTranslator pathTranslator, org.codehaus.plexus.logging.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 MavenSessionMethods in org.apache.maven.plugin.internal with parameters of type MavenSessionModifier and TypeMethodDescriptionvoidDefaultPluginManager.executeMojo(MavenProject project, MojoExecution execution, MavenSession session) <T> TDefaultMavenPluginManager.getConfiguredMojo(Class<T> mojoInterface, MavenSession session, MojoExecution mojoExecution) DefaultPluginManager.getPluginDefinitionForPrefix(String prefix, MavenSession session, MavenProject project) DefaultPluginManager.loadPluginDescriptor(Plugin plugin, MavenProject project, MavenSession session) DefaultPluginManager.loadPluginFully(Plugin plugin, MavenProject project, MavenSession session) voidDefaultLegacySupport.setSession(MavenSession session) voidDefaultMavenPluginManager.setupPluginRealm(PluginDescriptor pluginDescriptor, MavenSession session, ClassLoader parent, List<String> imports, org.eclipse.aether.graph.DependencyFilter filter) -
Uses of MavenSession in org.apache.maven.plugin.prefix
Constructors in org.apache.maven.plugin.prefix with parameters of type MavenSessionModifierConstructorDescriptionDefaultPluginPrefixRequest(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 MavenSessionModifierConstructorDescriptionDefaultPluginVersionRequest(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 MavenSessionModifier and TypeMethodDescriptionDefaultToolchainManager.getToolchainFromBuildContext(String type, MavenSession session) ToolchainManager.getToolchainFromBuildContext(String type, MavenSession context) Retrieve toolchain of specified type from build context.DefaultToolchainManager.getToolchains(MavenSession session, String type, Map<String, String> requirements) ToolchainManager.getToolchains(MavenSession session, String type, Map<String, String> requirements) Select all toolchains available in user settings matching the type and requirements, independently frommaven-toolchains-plugin.DefaultToolchainManagerPrivate.getToolchainsForType(String type, MavenSession context) ToolchainManagerPrivate.getToolchainsForType(String type, MavenSession context) Retrieves every toolchains of given type available in user settings.voidDefaultToolchainManagerPrivate.storeToolchainToBuildContext(ToolchainPrivate toolchain, MavenSession session) voidToolchainManagerPrivate.storeToolchainToBuildContext(ToolchainPrivate toolchain, MavenSession context) Stores the toolchain into build context for later use by toolchain-aware plugins.