org.apache.maven.shared.release.phase
Class InputVariablesPhase

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.apache.maven.shared.release.phase.AbstractReleasePhase
          extended by org.apache.maven.shared.release.phase.InputVariablesPhase
All Implemented Interfaces:
ReleasePhase, org.codehaus.plexus.logging.LogEnabled

public class InputVariablesPhase
extends AbstractReleasePhase

Input any variables that were not yet configured.

Author:
Brett Porter

Field Summary
 
Fields inherited from interface org.apache.maven.shared.release.phase.ReleasePhase
ROLE
 
Constructor Summary
InputVariablesPhase()
           
 
Method Summary
 ReleaseResult execute(ReleaseDescriptor releaseDescriptor, ReleaseEnvironment releaseEnvironment, java.util.List reactorProjects)
          Execute the phase.
protected  org.apache.maven.scm.provider.ScmProvider getScmProvider(ReleaseDescriptor releaseDescriptor, ReleaseEnvironment releaseEnvironment)
           
 ReleaseResult simulate(ReleaseDescriptor releaseDescriptor, ReleaseEnvironment releaseEnvironment, java.util.List reactorProjects)
          Simulate the phase, but don't make any changes to the project.
 
Methods inherited from class org.apache.maven.shared.release.phase.AbstractReleasePhase
clean, execute, getReleaseResultSuccess, logDebug, logError, logInfo, logWarn, simulate
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputVariablesPhase

public InputVariablesPhase()
Method Detail

getScmProvider

protected org.apache.maven.scm.provider.ScmProvider getScmProvider(ReleaseDescriptor releaseDescriptor,
                                                                   ReleaseEnvironment releaseEnvironment)
                                                            throws ReleaseScmRepositoryException,
                                                                   ReleaseExecutionException
Throws:
ReleaseScmRepositoryException
ReleaseExecutionException

execute

public ReleaseResult execute(ReleaseDescriptor releaseDescriptor,
                             ReleaseEnvironment releaseEnvironment,
                             java.util.List reactorProjects)
                      throws ReleaseExecutionException
Description copied from interface: ReleasePhase
Execute the phase.

Parameters:
releaseDescriptor - the configuration to use
releaseEnvironment - the environmental configuration, such as Maven settings, Maven home, etc.
reactorProjects - the reactor projects
Throws:
ReleaseExecutionException - an exception during the execution of the phase

simulate

public ReleaseResult simulate(ReleaseDescriptor releaseDescriptor,
                              ReleaseEnvironment releaseEnvironment,
                              java.util.List reactorProjects)
                       throws ReleaseExecutionException
Description copied from interface: ReleasePhase
Simulate the phase, but don't make any changes to the project.

Parameters:
releaseDescriptor - the configuration to use
releaseEnvironment - the environmental configuration, such as Maven settings, Maven home, etc.
reactorProjects - the reactor projects
Throws:
ReleaseExecutionException - an exception during the execution of the phase


Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.