@Singleton @Named(value="forked-path") public class ForkedMavenExecutor extends AbstractMavenExecutor
Constructor and Description |
---|
ForkedMavenExecutor(MavenCrypto mavenCrypto,
CommandLineFactory commandLineFactory) |
Modifier and Type | Method and Description |
---|---|
static int |
executeCommandLine(org.codehaus.plexus.util.cli.Commandline cl,
InputStream systemIn,
OutputStream systemOut,
OutputStream systemErr)
executeCommandLine.
|
void |
executeGoals(File workingDirectory,
List<String> goals,
ReleaseEnvironment releaseEnvironment,
boolean interactive,
String additionalArguments,
String pomFileName,
ReleaseResult relResult) |
encryptSettings, executeGoals, getLogger, getSettingsWriter
@Inject public ForkedMavenExecutor(MavenCrypto mavenCrypto, CommandLineFactory commandLineFactory)
public void executeGoals(File workingDirectory, List<String> goals, ReleaseEnvironment releaseEnvironment, boolean interactive, String additionalArguments, String pomFileName, ReleaseResult relResult) throws MavenExecutorException
executeGoals
in class AbstractMavenExecutor
MavenExecutorException
public static int executeCommandLine(org.codehaus.plexus.util.cli.Commandline cl, InputStream systemIn, OutputStream systemOut, OutputStream systemErr) throws org.codehaus.plexus.util.cli.CommandLineException
executeCommandLine.
cl
- a Commandline
objectsystemIn
- a InputStream
objectsystemOut
- a OutputStream
objectsystemErr
- a OutputStream
objectorg.codehaus.plexus.util.cli.CommandLineException
- if any.Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.