public interface MavenExecutionRequest
Modifier and Type | Field and Description |
---|---|
static String |
CHECKSUM_POLICY_FAIL |
static String |
CHECKSUM_POLICY_WARN |
static int |
LOGGING_LEVEL_DEBUG |
static int |
LOGGING_LEVEL_DISABLED |
static int |
LOGGING_LEVEL_ERROR |
static int |
LOGGING_LEVEL_FATAL |
static int |
LOGGING_LEVEL_INFO |
static int |
LOGGING_LEVEL_WARN |
static String |
REACTOR_FAIL_AT_END |
static String |
REACTOR_FAIL_FAST |
static String |
REACTOR_FAIL_NEVER |
static String |
REACTOR_MAKE_BOTH |
static String |
REACTOR_MAKE_DOWNSTREAM |
static String |
REACTOR_MAKE_UPSTREAM |
static final int LOGGING_LEVEL_DEBUG
static final int LOGGING_LEVEL_INFO
static final int LOGGING_LEVEL_WARN
static final int LOGGING_LEVEL_ERROR
static final int LOGGING_LEVEL_FATAL
static final int LOGGING_LEVEL_DISABLED
static final String REACTOR_FAIL_FAST
static final String REACTOR_FAIL_AT_END
static final String REACTOR_FAIL_NEVER
static final String REACTOR_MAKE_UPSTREAM
static final String REACTOR_MAKE_DOWNSTREAM
static final String REACTOR_MAKE_BOTH
static final String CHECKSUM_POLICY_FAIL
static final String CHECKSUM_POLICY_WARN
MavenExecutionRequest setBaseDirectory(File basedir)
String getBaseDirectory()
MavenExecutionRequest setStartTime(Date start)
Date getStartTime()
MavenExecutionRequest setGoals(List<String> goals)
MavenExecutionRequest setSystemProperties(Properties systemProperties)
System.getProperties()
and environment variables.systemProperties
- The system properties, may be null
.null
.Properties getSystemProperties()
System.getProperties()
and environment variables.null
.MavenExecutionRequest setUserProperties(Properties userProperties)
-Dkey=value
parameter on the command
line.userProperties
- The user properties, may be null
.null
.Properties getUserProperties()
-Dkey=value
parameter on the command
line.null
.MavenExecutionRequest setReactorFailureBehavior(String failureBehavior)
String getReactorFailureBehavior()
MavenExecutionRequest setSelectedProjects(List<String> projects)
List<String> getSelectedProjects()
MavenExecutionRequest setExcludedProjects(List<String> projects)
projects
- the projects to excludeList<String> getExcludedProjects()
null
MavenExecutionRequest setResumeFrom(String project)
String getResumeFrom()
MavenExecutionRequest setMakeBehavior(String makeBehavior)
String getMakeBehavior()
void setDegreeOfConcurrency(int degreeOfConcurrency)
degreeOfConcurrency
- int getDegreeOfConcurrency()
MavenExecutionRequest setRecursive(boolean recursive)
boolean isRecursive()
MavenExecutionRequest setPom(File pom)
MavenExecutionRequest setShowErrors(boolean showErrors)
boolean isShowErrors()
MavenExecutionRequest setTransferListener(TransferListener transferListener)
TransferListener getTransferListener()
MavenExecutionRequest setLoggingLevel(int loggingLevel)
int getLoggingLevel()
MavenExecutionRequest setUpdateSnapshots(boolean updateSnapshots)
boolean isUpdateSnapshots()
MavenExecutionRequest setNoSnapshotUpdates(boolean noSnapshotUpdates)
boolean isNoSnapshotUpdates()
MavenExecutionRequest setGlobalChecksumPolicy(String globalChecksumPolicy)
String getGlobalChecksumPolicy()
MavenExecutionRequest setLocalRepositoryPath(String localRepository)
MavenExecutionRequest setLocalRepositoryPath(File localRepository)
File getLocalRepositoryPath()
MavenExecutionRequest setLocalRepository(ArtifactRepository repository)
ArtifactRepository getLocalRepository()
MavenExecutionRequest setInteractiveMode(boolean interactive)
boolean isInteractiveMode()
MavenExecutionRequest setOffline(boolean offline)
boolean isOffline()
boolean isCacheTransferError()
MavenExecutionRequest setCacheTransferError(boolean cacheTransferError)
boolean isCacheNotFound()
MavenExecutionRequest setCacheNotFound(boolean cacheNotFound)
List<Profile> getProfiles()
MavenExecutionRequest addProfile(Profile profile)
MavenExecutionRequest setProfiles(List<Profile> profiles)
MavenExecutionRequest addActiveProfile(String profile)
MavenExecutionRequest addActiveProfiles(List<String> profiles)
MavenExecutionRequest setActiveProfiles(List<String> profiles)
List<String> getActiveProfiles()
MavenExecutionRequest addInactiveProfile(String profile)
MavenExecutionRequest addInactiveProfiles(List<String> profiles)
MavenExecutionRequest setInactiveProfiles(List<String> profiles)
List<String> getInactiveProfiles()
List<Proxy> getProxies()
MavenExecutionRequest setProxies(List<Proxy> proxies)
MavenExecutionRequest addProxy(Proxy proxy)
List<Server> getServers()
MavenExecutionRequest setServers(List<Server> servers)
MavenExecutionRequest addServer(Server server)
List<Mirror> getMirrors()
MavenExecutionRequest setMirrors(List<Mirror> mirrors)
MavenExecutionRequest addMirror(Mirror mirror)
List<String> getPluginGroups()
MavenExecutionRequest setPluginGroups(List<String> pluginGroups)
MavenExecutionRequest addPluginGroup(String pluginGroup)
MavenExecutionRequest addPluginGroups(List<String> pluginGroups)
boolean isProjectPresent()
MavenExecutionRequest setProjectPresent(boolean isProjectPresent)
File getUserSettingsFile()
MavenExecutionRequest setUserSettingsFile(File userSettingsFile)
File getGlobalSettingsFile()
MavenExecutionRequest setGlobalSettingsFile(File globalSettingsFile)
MavenExecutionRequest addRemoteRepository(ArtifactRepository repository)
MavenExecutionRequest addPluginArtifactRepository(ArtifactRepository repository)
MavenExecutionRequest setRemoteRepositories(List<ArtifactRepository> repositories)
repositories
- null
.List<ArtifactRepository> getRemoteRepositories()
MavenExecutionRequest setPluginArtifactRepositories(List<ArtifactRepository> repositories)
List<ArtifactRepository> getPluginArtifactRepositories()
MavenExecutionRequest setRepositoryCache(RepositoryCache repositoryCache)
RepositoryCache getRepositoryCache()
WorkspaceReader getWorkspaceReader()
MavenExecutionRequest setWorkspaceReader(WorkspaceReader workspaceReader)
File getUserToolchainsFile()
MavenExecutionRequest setUserToolchainsFile(File userToolchainsFile)
ExecutionListener getExecutionListener()
MavenExecutionRequest setExecutionListener(ExecutionListener executionListener)
ProjectBuildingRequest getProjectBuildingRequest()
boolean isUseLegacyLocalRepository()
MavenExecutionRequest setUseLegacyLocalRepository(boolean useLegacyLocalRepository)
MavenExecutionRequest setBuilderId(String builderId)
Builder
used by Maven by specification of the builder's id.String getBuilderId()
Builder
used by Maven by specification of the builders id.Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.