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)
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)
File getPom()
MavenExecutionRequest setShowErrors(boolean showErrors)
boolean isShowErrors()
MavenExecutionRequest setTransferListener(org.eclipse.aether.transfer.TransferListener transferListener)
org.eclipse.aether.transfer.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)
MavenExecutionRequest addProfile(Profile profile)
MavenExecutionRequest setProfiles(List<Profile> profiles)
MavenExecutionRequest addActiveProfile(String profile)
MavenExecutionRequest addActiveProfiles(List<String> profiles)
MavenExecutionRequest setActiveProfiles(List<String> profiles)
MavenExecutionRequest addInactiveProfile(String profile)
MavenExecutionRequest addInactiveProfiles(List<String> profiles)
MavenExecutionRequest setInactiveProfiles(List<String> profiles)
MavenExecutionRequest setProxies(List<Proxy> proxies)
MavenExecutionRequest addProxy(Proxy proxy)
MavenExecutionRequest setServers(List<Server> servers)
MavenExecutionRequest addServer(Server server)
MavenExecutionRequest setMirrors(List<Mirror> mirrors)
MavenExecutionRequest addMirror(Mirror mirror)
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(org.eclipse.aether.RepositoryCache repositoryCache)
org.eclipse.aether.RepositoryCache getRepositoryCache()
org.eclipse.aether.repository.WorkspaceReader getWorkspaceReader()
MavenExecutionRequest setWorkspaceReader(org.eclipse.aether.repository.WorkspaceReader workspaceReader)
File getUserToolchainsFile()
MavenExecutionRequest setUserToolchainsFile(File userToolchainsFile)
File getGlobalToolchainsFile()
MavenExecutionRequest setGlobalToolchainsFile(File globalToolchainsFile)
globalToolchainsFile
- the global toolchains fileExecutionListener 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.MavenExecutionRequest setToolchains(Map<String,List<ToolchainModel>> toolchains)
toolchains
- all toolchains grouped by typeMap<String,List<ToolchainModel>> getToolchains()
null
void setMultiModuleProjectDirectory(File file)
File getMultiModuleProjectDirectory()
MavenExecutionRequest setEventSpyDispatcher(EventSpyDispatcher eventSpyDispatcher)
EventSpyDispatcher getEventSpyDispatcher()
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.