org.apache.maven.shared.release.exec
Class ForkedMavenExecutor

java.lang.Object
  extended by org.apache.maven.shared.release.exec.AbstractMavenExecutor
      extended by org.apache.maven.shared.release.exec.ForkedMavenExecutor
All Implemented Interfaces:
MavenExecutor, org.codehaus.plexus.logging.LogEnabled

public class ForkedMavenExecutor
extends AbstractMavenExecutor

Fork Maven to executed a series of goals.

Author:
Brett Porter
Plexus component:
role:
"org.apache.maven.shared.release.exec.MavenExecutor"
role-hint:
"forked-path"

Field Summary
 
Fields inherited from interface org.apache.maven.shared.release.exec.MavenExecutor
ROLE
 
Constructor Summary
ForkedMavenExecutor()
           
 
Method Summary
static int executeCommandLine(Commandline cl, InputStream systemIn, OutputStream systemOut, OutputStream systemErr)
           
 void executeGoals(File workingDirectory, List<String> goals, ReleaseEnvironment releaseEnvironment, boolean interactive, String additionalArguments, String pomFileName, ReleaseResult relResult)
           
 void setCommandLineFactory(CommandLineFactory commandLineFactory)
           
 
Methods inherited from class org.apache.maven.shared.release.exec.AbstractMavenExecutor
enableLogging, executeGoals, executeGoals, executeGoals, executeGoals, getLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForkedMavenExecutor

public ForkedMavenExecutor()
Method Detail

executeGoals

public void executeGoals(File workingDirectory,
                         List<String> goals,
                         ReleaseEnvironment releaseEnvironment,
                         boolean interactive,
                         String additionalArguments,
                         String pomFileName,
                         ReleaseResult relResult)
                  throws MavenExecutorException
Specified by:
executeGoals in class AbstractMavenExecutor
Throws:
MavenExecutorException

setCommandLineFactory

public void setCommandLineFactory(CommandLineFactory commandLineFactory)

executeCommandLine

public static int executeCommandLine(Commandline cl,
                                     InputStream systemIn,
                                     OutputStream systemOut,
                                     OutputStream systemErr)
                              throws CommandLineException
Throws:
CommandLineException


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.