Uses of Class
org.apache.maven.execution.MavenSession

Packages that use MavenSession
org.apache.maven   
org.apache.maven.errors   
org.apache.maven.lifecycle   
org.apache.maven.lifecycle.binding   
org.apache.maven.lifecycle.plan   
org.apache.maven.listeners   
org.apache.maven.plugin   
org.apache.maven.plugin.loader   
org.apache.maven.plugin.version   
 

Uses of MavenSession in org.apache.maven
 

Methods in org.apache.maven that return MavenSession
protected  MavenSession DefaultMaven.createSession(MavenExecutionRequest request, ReactorManager reactorManager, EventDispatcher dispatcher)
           
 

Uses of MavenSession in org.apache.maven.errors
 

Methods in org.apache.maven.errors with parameters of type MavenSession
static java.util.List CoreErrorTips.getInvalidPluginForDirectInvocationTips(java.lang.String task, MavenSession session, MavenProject project, InvalidPluginException err)
           
 void DefaultCoreErrorReporter.reportAggregatedMojoFailureException(MavenSession session, MojoBinding binding, MojoFailureException cause)
           
 void CoreErrorReporter.reportAggregatedMojoFailureException(MavenSession session, MojoBinding binding, MojoFailureException cause)
           
 void DefaultCoreErrorReporter.reportAttemptToOverrideUneditableMojoParameter(Parameter currentParameter, MojoBinding binding, MavenProject project, MavenSession session, MojoExecution exec, PathTranslator translator, org.codehaus.plexus.logging.Logger logger, PluginConfigurationException cause)
           
 void CoreErrorReporter.reportAttemptToOverrideUneditableMojoParameter(Parameter currentParameter, MojoBinding binding, MavenProject project, MavenSession session, MojoExecution exec, PathTranslator translator, org.codehaus.plexus.logging.Logger logger, PluginConfigurationException cause)
           
 void DefaultCoreErrorReporter.reportErrorFormulatingBuildPlan(java.util.List tasks, MavenProject project, MavenSession session, LifecycleException cause)
           
 void CoreErrorReporter.reportErrorFormulatingBuildPlan(java.util.List tasks, MavenProject project, MavenSession session, LifecycleException cause)
           
 void DefaultCoreErrorReporter.reportInvalidPluginForDirectInvocation(java.lang.String task, MavenSession session, MavenProject project, InvalidPluginException err)
           
 void CoreErrorReporter.reportInvalidPluginForDirectInvocation(java.lang.String task, MavenSession session, MavenProject project, InvalidPluginException err)
           
 void DefaultCoreErrorReporter.reportLifecycleLoaderErrorWhileValidatingTask(java.lang.String task, MavenSession session, MavenProject rootProject, LifecycleLoaderException cause)
           
 void CoreErrorReporter.reportLifecycleLoaderErrorWhileValidatingTask(java.lang.String task, MavenSession session, MavenProject rootProject, LifecycleLoaderException cause)
           
 void DefaultCoreErrorReporter.reportLifecycleSpecErrorWhileValidatingTask(java.lang.String task, MavenSession session, MavenProject rootProject, LifecycleSpecificationException cause)
           
 void CoreErrorReporter.reportLifecycleSpecErrorWhileValidatingTask(java.lang.String task, MavenSession session, MavenProject rootProject, LifecycleSpecificationException cause)
           
 void DefaultCoreErrorReporter.reportProjectMojoFailureException(MavenSession session, MojoBinding binding, MojoFailureException cause)
           
 void CoreErrorReporter.reportProjectMojoFailureException(MavenSession session, MojoBinding binding, MojoFailureException cause)
           
 

Uses of MavenSession in org.apache.maven.lifecycle
 

Methods in org.apache.maven.lifecycle with parameters of type MavenSession
 void LifecycleExecutor.execute(MavenSession session, ReactorManager rm, EventDispatcher dispatcher)
          Order and execute mojos associated with the current set of projects in the reactor.
 void DefaultLifecycleExecutor.execute(MavenSession session, ReactorManager reactorManager, EventDispatcher dispatcher)
          Order and execute mojos associated with the current set of projects in the reactor.
 TaskValidationResult LifecycleExecutor.isTaskValid(java.lang.String task, MavenSession session, MavenProject rootProject)
          Provides a fail-fast way to check that all goals specified in MavenExecutionRequest.getGoals() or getGoals() is valid.
 TaskValidationResult DefaultLifecycleExecutor.isTaskValid(java.lang.String task, MavenSession session, MavenProject rootProject)
          Provides a fail-fast way to check that all goals specified in MavenExecutionRequest.getGoals() or getGoals() is valid.
 

Uses of MavenSession in org.apache.maven.lifecycle.binding
 

Methods in org.apache.maven.lifecycle.binding with parameters of type MavenSession
 LifecycleBindings LifecycleBindingManager.getBindingsForPackaging(MavenProject project, MavenSession session)
          Retrieve the LifecycleBindings given by the lifecycle mapping component/file for the project's packaging.
 LifecycleBindings DefaultLifecycleBindingManager.getBindingsForPackaging(MavenProject project, MavenSession session)
          Retrieve the LifecycleBindings given by the lifecycle mapping component/file for the project's packaging.
 LifecycleBindings LifecycleBindingManager.getProjectCustomBindings(MavenProject project, MavenSession session, java.util.Set unresolvableBindings)
          Construct the LifecycleBindings that constitute the extra mojos bound to the lifecycle within the POM itself.
 LifecycleBindings DefaultLifecycleBindingManager.getProjectCustomBindings(MavenProject project, MavenSession session, java.util.Set unbindableMojos)
          Construct the LifecycleBindings that constitute the extra mojos bound to the lifecycle within the POM itself.
 java.util.List LifecycleBindingManager.getReportBindings(MavenProject project, MavenSession session)
          Retrieve the list of MojoBinding instances that correspond to the reports configured for the specified project.
 java.util.List DefaultLifecycleBindingManager.getReportBindings(MavenProject project, MavenSession session)
          Retrieve the list of MojoBinding instances that correspond to the reports configured for the specified project.
 MojoBinding MojoBindingFactory.parseMojoBinding(java.lang.String bindingSpec, MavenProject project, MavenSession session, boolean allowPrefixReference)
          Parse the specified mojo string into a MojoBinding, optionally allowing plugin-prefix references.
 MojoBinding DefaultMojoBindingFactory.parseMojoBinding(java.lang.String bindingSpec, MavenProject project, MavenSession session, boolean allowPrefixReference)
          Parse the specified mojo string into a MojoBinding, optionally allowing plugin-prefix references.
 void LifecycleBindingManager.resolveUnbindableMojos(java.util.Set unbindableMojos, MavenProject project, MavenSession session, LifecycleBindings lifecycleBindings)
          Go through the set of unbindable mojos provided (these are MojoBinding instancess coming from the project as custom bindings for which we failed to determine a phase to bind them during LifecycleBindingManager.getProjectCustomBindings(MavenProject, MavenSession, Set)).
 void DefaultLifecycleBindingManager.resolveUnbindableMojos(java.util.Set unbindableMojos, MavenProject project, MavenSession session, LifecycleBindings lifecycleBindings)
          Go through the set of unbindable mojos provided (these are MojoBinding instancess coming from the project as custom bindings for which we failed to determine a phase to bind them during LifecycleBindingManager.getProjectCustomBindings(MavenProject, MavenSession, Set)).
 

Uses of MavenSession in org.apache.maven.lifecycle.plan
 

Methods in org.apache.maven.lifecycle.plan with parameters of type MavenSession
 BuildPlan DefaultBuildPlanner.constructBuildPlan(java.util.List tasks, MavenProject project, MavenSession session, boolean allowUnbindableMojos)
          Orchestrates construction of the build plan which will be used by the user of LifecycleExecutor.
 BuildPlan BuildPlanner.constructBuildPlan(java.util.List tasks, MavenProject project, MavenSession session, boolean allowUnbindableMojos)
          Orchestrates construction of the build plan which will be used by the user of LifecycleExecutor.
 BuildPlan DefaultBuildPlanner.constructInitialProjectBuildPlan(MavenProject project, MavenSession session)
           
 BuildPlan BuildPlanner.constructInitialProjectBuildPlan(MavenProject project, MavenSession session)
           
 void DefaultBuildPlanner.constructInitialProjectBuildPlans(MavenSession session)
           
 void BuildPlanner.constructInitialProjectBuildPlans(MavenSession session)
           
 

Uses of MavenSession in org.apache.maven.listeners
 

Methods in org.apache.maven.listeners with parameters of type MavenSession
 void MavenModelEventProcessor.processModelContainers(MavenSession session)
           
 void MavenModelEventListener.processModelContainers(MavenSession session)
           
 void DefaultMavenModelEventProcessor.processModelContainers(MavenSession session)
           
 void BuildExtensionListener.processModelContainers(MavenSession session)
          Take the extension elements that were found during the POM construction process and now retrieve all the artifacts necessary, load them in a realm, and discovery the components that are in the realm.
 

Uses of MavenSession in org.apache.maven.plugin
 

Methods in org.apache.maven.plugin with parameters of type MavenSession
protected  void DefaultPluginManager.addPlugin(Plugin plugin, Artifact pluginArtifact, MavenProject project, MavenSession session)
           
 void PluginManager.executeMojo(MavenProject project, MojoExecution execution, MavenSession session)
           
 void DefaultPluginManager.executeMojo(MavenProject project, MojoExecution mojoExecution, MavenSession session)
           
 Plugin PluginManager.getPluginDefinitionForPrefix(java.lang.String prefix, MavenSession session, MavenProject project)
           
 Plugin DefaultPluginManager.getPluginDefinitionForPrefix(java.lang.String prefix, MavenSession session, MavenProject project)
           
 MavenReport PluginManager.getReport(MavenProject project, MojoExecution mojoExecution, MavenSession session)
           
 MavenReport DefaultPluginManager.getReport(MavenProject project, MojoExecution mojoExecution, MavenSession session)
           
 PluginDescriptor PluginManagerSupport.loadIsolatedPluginDescriptor(Plugin plugin, MavenProject project, MavenSession session)
           
 PluginDescriptor DefaultPluginManagerSupport.loadIsolatedPluginDescriptor(Plugin plugin, MavenProject project, MavenSession session)
           
 Artifact PluginManagerSupport.resolvePluginArtifact(Plugin plugin, MavenProject project, MavenSession session)
           
 Artifact DefaultPluginManagerSupport.resolvePluginArtifact(Plugin plugin, MavenProject project, MavenSession session)
           
protected  void DefaultPluginManager.resolveTransitiveDependencies(MavenSession context, ArtifactResolver artifactResolver, java.lang.String scope, ArtifactFactory artifactFactory, MavenProject project, boolean isAggregator)
           
 PluginDescriptor PluginManager.verifyPlugin(Plugin plugin, MavenProject project, MavenSession session)
           
 PluginDescriptor DefaultPluginManager.verifyPlugin(Plugin plugin, MavenProject project, MavenSession session)
           
 PluginDescriptor PluginManager.verifyReportPlugin(ReportPlugin reportPlugin, MavenProject project, MavenSession session)
           
 PluginDescriptor DefaultPluginManager.verifyReportPlugin(ReportPlugin reportPlugin, MavenProject project, MavenSession session)
           
 

Constructors in org.apache.maven.plugin with parameters of type MavenSession
PluginParameterExpressionEvaluator(MavenSession context, MojoExecution mojoExecution, PathTranslator pathTranslator, org.codehaus.plexus.logging.Logger logger, MavenProject project, java.util.Properties properties)
          Deprecated. Use PluginParameterExpressionEvaluator#PluginParameterExpressionEvaluator(MavenSession, MojoExecution, PathTranslator, LifecycleExecutionContext, Logger, Properties) instead.
PluginParameterExpressionEvaluator(MavenSession context, MojoExecution mojoExecution, PathTranslator pathTranslator, org.codehaus.plexus.logging.Logger logger, java.util.Properties properties)
           
 

Uses of MavenSession in org.apache.maven.plugin.loader
 

Methods in org.apache.maven.plugin.loader with parameters of type MavenSession
 Plugin PluginPrefixLoader.findPluginForPrefix(java.lang.String prefix, MavenProject project, MavenSession session)
          Determine the appropriate Plugin instance for use with the specified plugin prefix, using the following strategies (in order):
Search for a plugin that has already been loaded with the specified prefix Search for a plugin configured in the POM that has a matching prefix Search the pluginGroups specified in the settings.xml for a matching plugin Use groupId == org.apache.maven.plugins, and artifactId == maven-<prefix>-plugin, and try to resolve based on that.
 Plugin DefaultPluginPrefixLoader.findPluginForPrefix(java.lang.String prefix, MavenProject project, MavenSession session)
          Determine the appropriate PluginDescriptor instance for use with the specified plugin prefix, using the following strategies (in order):
Search for a plugin that has already been loaded with the specified prefix Search for a plugin configured in the POM that has a matching prefix Search the pluginGroups specified in the settings.xml for a matching plugin Use groupId == org.apache.maven.plugins, and artifactId == maven-<prefix>-plugin, and try to resolve based on that.
 PluginDescriptor PluginLoader.loadPlugin(MojoBinding mojoBinding, MavenProject project, MavenSession session)
          Load the PluginDescriptor instance for the plugin implied by the specified MojoBinding, using the project for ArtifactRepository and other supplemental plugin information as necessary.
 PluginDescriptor DefaultPluginLoader.loadPlugin(MojoBinding mojoBinding, MavenProject project, MavenSession session)
          Load the PluginDescriptor instance for the plugin implied by the specified MojoBinding, using the project for ArtifactRepository and other supplemental plugin information as necessary.
 PluginDescriptor PluginLoader.loadPlugin(Plugin plugin, MavenProject project, MavenSession session)
          Load the PluginDescriptor instance for the specified plugin, using the project for the ArtifactRepository and other supplemental plugin information as necessary.
 PluginDescriptor DefaultPluginLoader.loadPlugin(Plugin plugin, MavenProject project, MavenSession session)
          Load the PluginDescriptor instance for the specified plugin, using the project for the ArtifactRepository and other supplemental plugin information as necessary.
 PluginDescriptor PluginLoader.loadReportPlugin(MojoBinding mojoBinding, MavenProject project, MavenSession session)
          Load the PluginDescriptor instance for the report plugin implied by the specified MojoBinding, using the project for ArtifactRepository and other supplemental report/plugin information as necessary.
 PluginDescriptor DefaultPluginLoader.loadReportPlugin(MojoBinding mojoBinding, MavenProject project, MavenSession session)
          Load the PluginDescriptor instance for the report plugin implied by the specified MojoBinding, using the project for ArtifactRepository and other supplemental report/plugin information as necessary.
 PluginDescriptor PluginLoader.loadReportPlugin(ReportPlugin reportPlugin, MavenProject project, MavenSession session)
          Load the PluginDescriptor instance for the specified report plugin, using the project for the ArtifactRepository and other supplemental report/plugin information as necessary.
 PluginDescriptor DefaultPluginLoader.loadReportPlugin(ReportPlugin plugin, MavenProject project, MavenSession session)
          Load the PluginDescriptor instance for the specified report plugin, using the project for the ArtifactRepository and other supplemental report/plugin information as necessary.
 

Uses of MavenSession in org.apache.maven.plugin.version
 

Methods in org.apache.maven.plugin.version with parameters of type MavenSession
 java.lang.String PluginVersionManager.resolvePluginVersion(java.lang.String groupId, java.lang.String artifactId, MavenProject project, MavenSession session)
           
 java.lang.String DefaultPluginVersionManager.resolvePluginVersion(java.lang.String groupId, java.lang.String artifactId, MavenProject project, MavenSession session)
           
 java.lang.String PluginVersionManager.resolveReportPluginVersion(java.lang.String groupId, java.lang.String artifactId, MavenProject project, MavenSession session)
           
 java.lang.String DefaultPluginVersionManager.resolveReportPluginVersion(java.lang.String groupId, java.lang.String artifactId, MavenProject project, MavenSession session)
           
 



Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.