@Component(role=BuildExecutor.class) public class DefaultBuildExecutor extends Object implements BuildExecutor, org.apache.maven.shared.invoker.InvocationOutputHandler
| Constructor and Description |
|---|
DefaultBuildExecutor() |
| Modifier and Type | Method and Description |
|---|---|
void |
consumeLine(String line) |
boolean |
executeBuild(org.apache.maven.shared.invoker.InvocationRequest request,
String logPath,
boolean verbose)
Execute Maven build and evaluate if is succeeded.
|
public boolean executeBuild(org.apache.maven.shared.invoker.InvocationRequest request,
String logPath,
boolean verbose)
throws org.apache.maven.shared.invoker.MavenInvocationException
BuildExecutorexecuteBuild in interface BuildExecutorrequest - invocation request to use to execute the buildlogPath - path to log fileverbose - print logs to standard outputtrue iff the build succeededorg.apache.maven.shared.invoker.MavenInvocationException - if build failed due to an internal errorpublic void consumeLine(String line)
consumeLine in interface org.codehaus.plexus.util.cli.StreamConsumerCopyright © 2012-2013 Red Hat, Inc.. All Rights Reserved.