public final class MavenLauncher extends Object
Constructor and Description |
---|
MavenLauncher(Class testClass,
String resourceName,
String suffix) |
public File getUnpackedAt()
public void moveUnpackTo(File dest) throws IOException
IOException
public void reset()
public MavenLauncher getSubProjectLauncher(String subProject)
public OutputValidator getSubProjectValidator(String subProject) throws VerificationException
VerificationException
public MavenLauncher addEnvVar(String key, String value)
public MavenLauncher assertNotPresent(String subFile)
public MavenLauncher showErrorStackTraces()
public MavenLauncher debugLogging()
public MavenLauncher failNever()
public MavenLauncher offline()
public MavenLauncher skipClean()
public MavenLauncher addGoal(String goal)
public FailsafeOutputValidator executeVerify()
public OutputValidator executeTest()
public MavenLauncher withFailure()
public OutputValidator execute(String goal)
public OutputValidator executeCurrentGoals()
public MavenLauncher activateProfile(String profile)
public MavenLauncher sysProp(String variable, String value)
public MavenLauncher sysProp(Map<String,String> properties)
public MavenLauncher sysProp(String variable, boolean value)
public MavenLauncher sysProp(String variable, int value)
public MavenLauncher sysProp(String variable, double value)
public MavenLauncher showExceptionMessages()
public MavenLauncher deleteSiteDir()
public OutputValidator getValidator()
public void setForkJvm(boolean forkJvm)
public String getLocalRepository()
public void setAutoclean(boolean autoclean)
Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.