@Component(role=BuildExecutor.class) public class DefaultBuildExecutor extends Object implements BuildExecutor
| Constructor and Description |
|---|
DefaultBuildExecutor() |
| Modifier and Type | Method and Description |
|---|---|
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 errorCopyright © 2012-2015 Red Hat, Inc.. All Rights Reserved.