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
@Component(role=MavenExecutor.class,
hint="forked-path")
public class ForkedMavenExecutor
extends AbstractMavenExecutor
Fork Maven to executed a series of goals.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intexecuteCommandLine(org.codehaus.plexus.util.cli.Commandline cl, InputStream systemIn, OutputStream systemOut, OutputStream systemErr) voidexecuteGoals(File workingDirectory, List<String> goals, ReleaseEnvironment releaseEnvironment, boolean interactive, String additionalArguments, String pomFileName, ReleaseResult relResult) voidsetCommandLineFactory(CommandLineFactory commandLineFactory) Methods inherited from class AbstractMavenExecutor
enableLogging, encryptSettings, executeGoals, getLogger, getSettingsWriter
-
Field Details
-
commandLineFactory
Command line factory.
-
-
Constructor Details
-
ForkedMavenExecutor
public ForkedMavenExecutor()
-
-
Method Details
-
executeCommandLine
public static int executeCommandLine(org.codehaus.plexus.util.cli.Commandline cl, InputStream systemIn, OutputStream systemOut, OutputStream systemErr) throws org.codehaus.plexus.util.cli.CommandLineException - Throws:
org.codehaus.plexus.util.cli.CommandLineException