org.apache.maven.shared.release.exec
Class ForkedMavenExecutor
java.lang.Object
org.apache.maven.shared.release.exec.AbstractMavenExecutor
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"
|
Fields inherited from interface org.apache.maven.shared.release.exec.MavenExecutor |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ForkedMavenExecutor
public ForkedMavenExecutor()
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.