public class MavenExecutor
extends org.junit.rules.ExternalResource
| Modifier and Type | Class and Description |
|---|---|
static class |
MavenExecutor.Result |
| Constructor and Description |
|---|
MavenExecutor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
after() |
protected void |
before() |
MavenExecutor.Result |
execute(java.io.File projectDir,
java.lang.String... args) |
java.lang.String |
getHttpNonProxyHosts() |
java.lang.String |
getHttpProxyHost() |
java.lang.String |
getHttpProxyPassword() |
int |
getHttpProxyPort() |
java.lang.String |
getHttpProxyUser() |
protected java.lang.String |
getMavenDistributionFileName() |
java.nio.file.Path |
getMavenHomeDirPath() |
java.nio.file.Path |
getMavenLocalRepositoryDirPath() |
protected java.lang.String |
getMavenOpts() |
java.lang.String |
getNexusPrivatePassword() |
java.lang.String |
getNexusPrivateUserName() |
java.lang.String |
getRepositoryUrl() |
protected boolean |
isMavenDebug() |
protected void |
writeSettingsXmlFile() |
public MavenExecutor.Result execute(java.io.File projectDir, java.lang.String... args) throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getHttpNonProxyHosts()
public java.lang.String getHttpProxyHost()
public java.lang.String getHttpProxyPassword()
public int getHttpProxyPort()
public java.lang.String getHttpProxyUser()
public java.nio.file.Path getMavenHomeDirPath()
public java.nio.file.Path getMavenLocalRepositoryDirPath()
public java.lang.String getNexusPrivatePassword()
public java.lang.String getNexusPrivateUserName()
public java.lang.String getRepositoryUrl()
protected void after()
after in class org.junit.rules.ExternalResourceprotected void before()
throws java.lang.Throwable
before in class org.junit.rules.ExternalResourcejava.lang.Throwableprotected java.lang.String getMavenDistributionFileName()
protected java.lang.String getMavenOpts()
protected boolean isMavenDebug()
protected void writeSettingsXmlFile()
throws java.io.IOException
java.io.IOException