public class MavenCommandLineBuilder extends Object
Constructor and Description |
---|
MavenCommandLineBuilder() |
public Commandline build(InvocationRequest request) throws CommandLineConfigurationException
protected void checkRequiredState() throws IOException
IOException
protected void setSettingsLocation(InvocationRequest request, Commandline cli)
protected void setToolchainsLocation(InvocationRequest request, Commandline cli)
protected void setShellEnvironment(InvocationRequest request, Commandline cli) throws CommandLineConfigurationException
protected void setProfiles(InvocationRequest request, Commandline cli)
protected void setGoals(InvocationRequest request, Commandline cli)
protected void setProperties(InvocationRequest request, Commandline cli)
protected void setPomLocation(InvocationRequest request, Commandline cli)
protected void setEnvironmentPaths(InvocationRequest request, Commandline cli)
protected void setReactorBehavior(InvocationRequest request, Commandline cli)
protected void setFlags(InvocationRequest request, Commandline cli)
protected void setThreads(InvocationRequest request, Commandline cli)
protected File findMavenExecutable() throws CommandLineConfigurationException, IOException
public String wrapStringWithQuotes(String path)
path
- string to wrap if containing spacespublic File getLocalRepositoryDirectory()
public void setLocalRepositoryDirectory(File localRepositoryDirectory)
public InvokerLogger getLogger()
public void setLogger(InvokerLogger logger)
public File getMavenHome()
public void setMavenHome(File mavenHome)
public File getWorkingDirectory()
public void setWorkingDirectory(File workingDirectory)
public void setMavenExecutable(File mavenExecutable)
mavenExecutable
can either be relative to ${maven.home}/bin/ or absolutemavenExecutable
- the executablepublic File getMavenExecutable()
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.