public interface ConfigurationStage<DIST_OR_CONFIG extends ConfigurationStage> extends BuildStage
| Modifier and Type | Method and Description |
|---|---|
DIST_OR_CONFIG |
activateReactor(String[] includes,
String[] excludes)
Dynamically constructs a reactor using the subdirectories of the current directory
|
DIST_OR_CONFIG |
addProperty(String key,
String value)
Adds the property to the list of properties.
|
DIST_OR_CONFIG |
addShellEnvironment(String name,
String value)
Adds the specified environment variable to the Maven invocation.
|
DIST_OR_CONFIG |
setAlsoMake(boolean alsoMake)
Enable the 'also make' mode.
|
DIST_OR_CONFIG |
setAlsoMakeDependents(boolean alsoMakeDependents)
Enable the 'also make dependents' mode.
|
DIST_OR_CONFIG |
setDebug(boolean debug)
Sets the debug mode of the Maven invocation.
|
DIST_OR_CONFIG |
setFailureBehavior(String failureBehavior)
Sets the failure mode of the Maven invocation.
|
DIST_OR_CONFIG |
setGlobalChecksumPolicy(String globalChecksumPolicy)
Sets the checksum mode of the Maven invocation.
|
DIST_OR_CONFIG |
setGlobalSettingsFile(File globalSettingsFile)
Sets the path to the global settings for the Maven invocation.
|
DIST_OR_CONFIG |
setGoals(List<String> goals)
Sets the goals for the Maven invocation.
|
DIST_OR_CONFIG |
setGoals(String... goals)
Sets the goals for the Maven invocation.
|
DIST_OR_CONFIG |
setInputStream(InputStream inputStream)
Sets the input stream used to provide input for the invoked Maven build.
|
DIST_OR_CONFIG |
setInteractive(boolean interactive)
Sets the interaction mode of the Maven invocation.
|
DIST_OR_CONFIG |
setJavaHome(File javaHome)
Sets the path to the base directory of the Java installation used to run Maven.
|
DIST_OR_CONFIG |
setLocalRepositoryDirectory(File localRepositoryDirectory)
Sets the path to the base directory of the local repository to use for the Maven invocation.
|
DIST_OR_CONFIG |
setLogger(org.apache.maven.shared.invoker.InvokerLogger invokerLogger)
Sets the input stream used to provide input for the invoked Maven build.
|
DIST_OR_CONFIG |
setMavenOpts(String mavenOpts)
Sets the value of the MAVEN_OPTS environment variable.
|
DIST_OR_CONFIG |
setNonPluginUpdates(boolean nonPluginUpdates)
Specifies whether Maven should check for plugin updates.
|
DIST_OR_CONFIG |
setOffline(boolean offline)
Sets the network mode of the Maven invocation.
|
DIST_OR_CONFIG |
setProfiles(List<String> profiles)
Sets the profiles for the Maven invocation.
|
DIST_OR_CONFIG |
setProfiles(String... profiles)
Sets the profiles for the Maven invocation.
|
DIST_OR_CONFIG |
setProjects(List<String> projects)
Sets the reactor project list.
|
DIST_OR_CONFIG |
setProjects(String... projects)
Sets the reactor project list.
|
DIST_OR_CONFIG |
setProperties(Properties properties)
Sets the system properties for the Maven invocation.
|
DIST_OR_CONFIG |
setQuiet()
Puts the build output into the quiet mode.
|
DIST_OR_CONFIG |
setQuiet(boolean quiet)
Sets if the build output shold be in the quiet mode or not.
|
DIST_OR_CONFIG |
setRecursive(boolean recursive)
Sets the recursion behavior of a reactor invocation.
|
DIST_OR_CONFIG |
setResumeFrom(String resumeFrom)
Resume reactor from specified project.
|
DIST_OR_CONFIG |
setShellEnvironmentInherited(boolean shellEnvironmentInherited)
Specifies whether the environment variables of the current process should be propagated to the Maven invocation.
|
DIST_OR_CONFIG |
setShowErrors(boolean showErrors)
Sets the exception output mode of the Maven invocation.
|
DIST_OR_CONFIG |
setShowVersion(boolean showVersion)
enable displaying version without stopping the build Equivalent of -V or --show-version
|
DIST_OR_CONFIG |
setThreads(String threads)
Thread count, for instance 2.0C where C is core multiplied Equivalent of -T or --threads
|
DIST_OR_CONFIG |
setToolchainsFile(File toolchainsFile)
Sets the alternate path for the user toolchains file Equivalent of -t or --toolchains
|
DIST_OR_CONFIG |
setUpdateSnapshots(boolean updateSnapshots)
Specifies whether Maven should enforce an update check for plugins and snapshots.
|
DIST_OR_CONFIG |
setUserSettingsFile(File userSettingsFile)
Sets the path to the user settings for the Maven invocation.
|
DIST_OR_CONFIG |
setWorkingDirectory(File workingDirectory)
Sets the working directory for the Maven invocation.
|
DIST_OR_CONFIG |
skipTests(boolean skipTests)
Specifies whether the test of the project should be skipped during Maven build - Equivalent of --skipTests.
|
build, ignoreFailure, ignoreFailureDIST_OR_CONFIG setInteractive(boolean interactive)
interactive - true if Maven should be executed in interactive mode, false if the batch mode is used.DIST_OR_CONFIG setOffline(boolean offline)
offline - true if Maven should be executed in offline mode, false if the online mode is used.DIST_OR_CONFIG setDebug(boolean debug)
debug - true if Maven should be executed in debug mode, false if the normal mode should be used.DIST_OR_CONFIG setShowErrors(boolean showErrors)
showErrors - true if Maven should print stack traces, false otherwise.DIST_OR_CONFIG setUpdateSnapshots(boolean updateSnapshots)
updateSnapshots - true if plugins and snapshots should be updated, false otherwise.DIST_OR_CONFIG setFailureBehavior(String failureBehavior)
failureBehavior - The failure mode, must be one of REACTOR_FAIL_FAST, REACTOR_FAIL_AT_END and REACTOR_FAIL_NEVER.DIST_OR_CONFIG activateReactor(String[] includes, String[] excludes)
includes - a list of filename patterns to include, or null, in which case the default is */pom.xmlexcludes - a list of filename patterns to exclude, or null, in which case nothing is excludedDIST_OR_CONFIG setLocalRepositoryDirectory(File localRepositoryDirectory)
localRepositoryDirectory - The path to the base directory of the local repository, may be null.DIST_OR_CONFIG setLogger(org.apache.maven.shared.invoker.InvokerLogger invokerLogger)
invokerLogger - The input stream used to provide input for the invoked Maven build, may be null if not required.DIST_OR_CONFIG setWorkingDirectory(File workingDirectory)
workingDirectory - The working directory for the Maven invocation, may be null to derive the working directory from the base directory of the processed POM.DIST_OR_CONFIG setInputStream(InputStream inputStream)
inputStream - The input stream used to provide input for the invoked Maven build, may be null if not required.DIST_OR_CONFIG setJavaHome(File javaHome)
javaHome - The path to the base directory of the Java installation used to run Maven, may be null to use the default Java home.DIST_OR_CONFIG setProperties(Properties properties)
properties - The system properties for the Maven invocation, may be null if not set.DIST_OR_CONFIG addProperty(String key, String value)
key - The key of the property to be addedvalue - The value of the property to be addedDIST_OR_CONFIG skipTests(boolean skipTests)
trueskipTests - false the test of the project should be invokedDIST_OR_CONFIG setGoals(List<String> goals)
goals - The goals for the Maven invocation, may be null to execute the POMs default goal.DIST_OR_CONFIG setGoals(String... goals)
goals - The goals for the Maven invocation, may be null to execute the POMs default goal.DIST_OR_CONFIG setProfiles(List<String> profiles)
profiles - The profiles for the Maven invocation, may be null to use the default profiles.DIST_OR_CONFIG setProfiles(String... profiles)
profiles - The profiles for the Maven invocation, may be null to use the default profiles.DIST_OR_CONFIG setShellEnvironmentInherited(boolean shellEnvironmentInherited)
shellEnvironmentInherited - true if the environment variables should be propagated, false otherwise.DIST_OR_CONFIG setUserSettingsFile(File userSettingsFile)
userSettingsFile - The path to the user settings for the Maven invocation, may be null to load the user settings from the default location.DIST_OR_CONFIG setGlobalSettingsFile(File globalSettingsFile)
globalSettingsFile - The path to the global settings for the Maven invocation, may be null to load the global settings from the default location.DIST_OR_CONFIG setToolchainsFile(File toolchainsFile)
toolchainsFile - the alternate path for the user toolchains fileDIST_OR_CONFIG setGlobalChecksumPolicy(String globalChecksumPolicy)
globalChecksumPolicy - The checksum mode, must be one of $CHECKSUM_POLICY_WARN and $CHECKSUM_POLICY_FAIL.DIST_OR_CONFIG setNonPluginUpdates(boolean nonPluginUpdates)
Equivalent of -npu or --no-plugin-updates note: Ineffective with Maven3, only kept for backward compatibility
nonPluginUpdates - true if plugin updates should be suppressed, false otherwise.DIST_OR_CONFIG setRecursive(boolean recursive)
recursive - true if sub modules should be build, false otherwise.DIST_OR_CONFIG addShellEnvironment(String name, String value)
name - The name of the environment variable, must not be null.value - The value of the environment variable, must not be null.DIST_OR_CONFIG setMavenOpts(String mavenOpts)
mavenOpts - The value of the MAVEN_OPTS environment variable, may be null to use the default options.DIST_OR_CONFIG setShowVersion(boolean showVersion)
showVersion - enable displaying versionDIST_OR_CONFIG setThreads(String threads)
threads - the threadcountDIST_OR_CONFIG setProjects(List<String> projects)
projects - the reactor project listDIST_OR_CONFIG setProjects(String... projects)
projects - the reactor project listDIST_OR_CONFIG setAlsoMake(boolean alsoMake)
alsoMake - enable 'also make' modeDIST_OR_CONFIG setAlsoMakeDependents(boolean alsoMakeDependents)
alsoMakeDependents - enable 'also make' modeDIST_OR_CONFIG setResumeFrom(String resumeFrom)
resumeFrom - set the project to resume fromDIST_OR_CONFIG setQuiet(boolean quiet)
BuiltProject.getMavenLog(). Default is falsequiet - If the build should be in quite mode;DIST_OR_CONFIG setQuiet()
BuiltProject.getMavenLog().Copyright © 2016 JBoss by Red Hat. All rights reserved.