|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hudsonci.maven.plugin.builder.internal.MavenProcessBuilder
public class MavenProcessBuilder
Helper to build the arguments and environment for launching Maven.
| Field Summary | |
|---|---|
static String[] |
BANNED_OPTIONS
Banned options, users should be warned when configuring these via goals or mavenOpts, as this will prevent the integration from functioning correctly. |
static String[] |
BANNED_PROPERTIES
Banned properties (prefixes in arg form), users should be warned when configuring these via goals or mavenOpts, as they may prevent the integration from functioning correctly. |
static String[] |
SUPERFLUOUS_OPTIONS
Superfluous options, users should be warned when configuring these via goals or mavenOpts, as they are pointless. |
| Constructor Summary | |
|---|---|
MavenProcessBuilder(Logger log)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String[] SUPERFLUOUS_OPTIONS
public static final String[] BANNED_OPTIONS
public static final String[] BANNED_PROPERTIES
| Constructor Detail |
|---|
public MavenProcessBuilder(Logger log)
| Method Detail |
|---|
public MavenProcessBuilder withWindows(boolean flag)
public MavenProcessBuilder withTmpDir(FilePath dir)
public MavenProcessBuilder withMavenHome(FilePath dir)
public MavenProcessBuilder withMavenExecutable(FilePath file)
public MavenProcessBuilder withExtClasspath(ClasspathBuilder classpath)
public MavenProcessBuilder withRepository(FilePath dir)
public MavenProcessBuilder withBuildVariables(Map<String,String> variables)
public MavenProcessBuilder withEnv(EnvVars env)
public MavenProcessBuilder withPort(int port)
public MavenProcessBuilder withConfiguration(BuildConfigurationDTO config)
public MavenProcessBuilder withWorkingDirectory(FilePath dir)
public MavenProcessBuilder withStandardOutput(OutputStream output)
protected String resolve(String value)
public ArgumentListBuilder buildArguments()
throws Exception
Exception
public ArgumentListBuilder buildOpts()
throws Exception
Exception
public EnvVars buildEnv()
throws Exception
Exception
public Launcher.ProcStarter build(Launcher.ProcStarter starter)
throws Exception
Exceptionpublic boolean detectBannedProperties(ArgumentListBuilder args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||