Uses of Interface
org.apache.maven.execution.MavenExecutionRequest
Package
Description
-
Uses of MavenExecutionRequest in org.apache.maven
Modifier and TypeMethodDescriptionDefaultMaven.execute
(MavenExecutionRequest request) Maven.execute
(MavenExecutionRequest request) org.eclipse.aether.RepositorySystemSession
DefaultMaven.newRepositorySession
(MavenExecutionRequest request) Deprecated.If you use this method and your code is not in Maven Core, stop doing this. -
Uses of MavenExecutionRequest in org.apache.maven.bridge
Modifier and TypeMethodDescriptionMavenRepositorySystem.createDefaultRemoteRepository
(MavenExecutionRequest request) MavenRepositorySystem.createLocalRepository
(MavenExecutionRequest request, File localRepository) -
Uses of MavenExecutionRequest in org.apache.maven.cli
Modifier and TypeMethodDescriptionCliRequest.getRequest()
protected MavenExecutionRequest
MavenCli.populateRequest
(CliRequest cliRequest) -
Uses of MavenExecutionRequest in org.apache.maven.cli.internal
Modifier and TypeMethodDescriptionBootstrapCoreExtensionManager.loadCoreExtensions
(MavenExecutionRequest request, Set<String> providedArtifacts, List<CoreExtension> extensions) -
Uses of MavenExecutionRequest in org.apache.maven.cling.invoker
Modifier and TypeMethodDescriptionprotected void
LookupInvoker.populateRequest
(C context, MavenExecutionRequest request) protected void
LookupInvoker.populateRequestFromSettings
(MavenExecutionRequest request, Settings settings) -
Uses of MavenExecutionRequest in org.apache.maven.cling.invoker.mvn
Modifier and TypeMethodDescriptionprotected void
DefaultMavenInvoker.populateRequest
(C context, MavenExecutionRequest request) -
Uses of MavenExecutionRequest in org.apache.maven.execution
Modifier and TypeMethodDescriptionDefaultMavenExecutionRequest.addActiveProfile
(String profile) MavenExecutionRequest.addActiveProfile
(String profile) Deprecated.Since Maven 4: usegetProfileActivation()
.DefaultMavenExecutionRequest.addActiveProfiles
(List<String> profiles) MavenExecutionRequest.addActiveProfiles
(List<String> profiles) Deprecated.Since Maven 4: usegetProfileActivation()
.DefaultMavenExecutionRequest.addInactiveProfile
(String profile) MavenExecutionRequest.addInactiveProfile
(String profile) Deprecated.Since Maven 4: usegetProfileActivation()
.DefaultMavenExecutionRequest.addInactiveProfiles
(List<String> profiles) MavenExecutionRequest.addInactiveProfiles
(List<String> profiles) Deprecated.Since Maven 4: usegetProfileActivation()
.DefaultMavenExecutionRequest.addPluginArtifactRepository
(ArtifactRepository repository) MavenExecutionRequest.addPluginArtifactRepository
(ArtifactRepository repository) DefaultMavenExecutionRequest.addPluginGroup
(String pluginGroup) MavenExecutionRequest.addPluginGroup
(String pluginGroup) DefaultMavenExecutionRequest.addPluginGroups
(List<String> pluginGroups) MavenExecutionRequest.addPluginGroups
(List<String> pluginGroups) DefaultMavenExecutionRequest.addProfile
(Profile profile) MavenExecutionRequest.addProfile
(Profile profile) DefaultMavenExecutionRequest.addRemoteRepository
(ArtifactRepository repository) MavenExecutionRequest.addRemoteRepository
(ArtifactRepository repository) static MavenExecutionRequest
DefaultMavenExecutionRequest.copy
(MavenExecutionRequest original) MavenSession.getRequest()
DefaultMavenExecutionRequestPopulator.populateDefaults
(MavenExecutionRequest request) MavenExecutionRequestPopulator.populateDefaults
(MavenExecutionRequest request) Injects default values like plugin groups or repositories into the specified execution request.DefaultMavenExecutionRequestPopulator.populateFromSettings
(MavenExecutionRequest request, Settings settings) Deprecated.MavenExecutionRequestPopulator.populateFromSettings
(MavenExecutionRequest request, Settings settings) Deprecated.DefaultMavenExecutionRequestPopulator.populateFromToolchains
(MavenExecutionRequest request, PersistedToolchains toolchains) MavenExecutionRequestPopulator.populateFromToolchains
(MavenExecutionRequest request, PersistedToolchains toolchains) Copies the values from the given toolchains into the specified execution request.DefaultMavenExecutionRequest.setActiveProfiles
(List<String> activeProfiles) MavenExecutionRequest.setActiveProfiles
(List<String> profiles) Deprecated.Since Maven 4: usegetProfileActivation()
.DefaultMavenExecutionRequest.setBaseDirectory
(File basedir) MavenExecutionRequest.setBaseDirectory
(File basedir) Deprecated.usesetTopDirectory(Path)
insteadDefaultMavenExecutionRequest.setBuilderId
(String builderId) MavenExecutionRequest.setBuilderId
(String builderId) Controls theBuilder
used by Maven by specification of the builder's id.DefaultMavenExecutionRequest.setCacheNotFound
(boolean cacheNotFound) MavenExecutionRequest.setCacheNotFound
(boolean cacheNotFound) DefaultMavenExecutionRequest.setCacheTransferError
(boolean cacheTransferError) MavenExecutionRequest.setCacheTransferError
(boolean cacheTransferError) DefaultMavenExecutionRequest.setEventSpyDispatcher
(EventSpyDispatcher eventSpyDispatcher) MavenExecutionRequest.setEventSpyDispatcher
(EventSpyDispatcher eventSpyDispatcher) DefaultMavenExecutionRequest.setExcludedProjects
(List<String> excludedProjects) MavenExecutionRequest.setExcludedProjects
(List<String> projects) Deprecated.Since Maven 4: usegetProjectActivation()
.DefaultMavenExecutionRequest.setExecutionListener
(ExecutionListener executionListener) MavenExecutionRequest.setExecutionListener
(ExecutionListener executionListener) DefaultMavenExecutionRequest.setGlobalChecksumPolicy
(String globalChecksumPolicy) MavenExecutionRequest.setGlobalChecksumPolicy
(String globalChecksumPolicy) DefaultMavenExecutionRequest.setGlobalSettingsFile
(File globalSettingsFile) Deprecated.MavenExecutionRequest.setGlobalSettingsFile
(File globalSettingsFile) Deprecated.DefaultMavenExecutionRequest.setGlobalToolchainsFile
(File installationToolchainsFile) Deprecated.MavenExecutionRequest.setGlobalToolchainsFile
(File globalToolchainsFile) Deprecated.DefaultMavenExecutionRequest.setIgnoreInvalidArtifactDescriptor
(boolean ignoreInvalid) MavenExecutionRequest.setIgnoreInvalidArtifactDescriptor
(boolean ignoreInvalid) DefaultMavenExecutionRequest.setIgnoreMissingArtifactDescriptor
(boolean ignoreMissing) MavenExecutionRequest.setIgnoreMissingArtifactDescriptor
(boolean ignoreMissing) DefaultMavenExecutionRequest.setIgnoreTransitiveRepositories
(boolean ignoreTransitiveRepositories) MavenExecutionRequest.setIgnoreTransitiveRepositories
(boolean ignoreTransitiveRepositories) DefaultMavenExecutionRequest.setInactiveProfiles
(List<String> inactiveProfiles) MavenExecutionRequest.setInactiveProfiles
(List<String> profiles) Deprecated.Since Maven 4: usegetProfileActivation()
.DefaultMavenExecutionRequest.setInstallationSettingsFile
(File installationSettingsFile) MavenExecutionRequest.setInstallationSettingsFile
(File installationSettingsFile) DefaultMavenExecutionRequest.setInstallationToolchainsFile
(File installationToolchainsFile) MavenExecutionRequest.setInstallationToolchainsFile
(File installationToolchainsFile) DefaultMavenExecutionRequest.setInteractiveMode
(boolean interactive) MavenExecutionRequest.setInteractiveMode
(boolean interactive) DefaultMavenExecutionRequest.setLocalRepository
(ArtifactRepository localRepository) MavenExecutionRequest.setLocalRepository
(ArtifactRepository repository) DefaultMavenExecutionRequest.setLocalRepositoryPath
(File localRepository) DefaultMavenExecutionRequest.setLocalRepositoryPath
(String localRepository) MavenExecutionRequest.setLocalRepositoryPath
(File localRepository) MavenExecutionRequest.setLocalRepositoryPath
(String localRepository) DefaultMavenExecutionRequest.setLoggingLevel
(int loggingLevel) MavenExecutionRequest.setLoggingLevel
(int loggingLevel) DefaultMavenExecutionRequest.setMakeBehavior
(String makeBehavior) MavenExecutionRequest.setMakeBehavior
(String makeBehavior) DefaultMavenExecutionRequest.setMirrors
(List<Mirror> mirrors) MavenExecutionRequest.setMirrors
(List<Mirror> mirrors) DefaultMavenExecutionRequest.setNoSnapshotUpdates
(boolean noSnapshotUpdates) MavenExecutionRequest.setNoSnapshotUpdates
(boolean noSnapshotUpdates) DefaultMavenExecutionRequest.setOffline
(boolean offline) MavenExecutionRequest.setOffline
(boolean offline) DefaultMavenExecutionRequest.setPluginArtifactRepositories
(List<ArtifactRepository> pluginArtifactRepositories) MavenExecutionRequest.setPluginArtifactRepositories
(List<ArtifactRepository> repositories) DefaultMavenExecutionRequest.setPluginGroups
(List<String> pluginGroups) MavenExecutionRequest.setPluginGroups
(List<String> pluginGroups) DefaultMavenExecutionRequest.setPomFile
(String pomFilename) Deprecated.DefaultMavenExecutionRequest.setProfiles
(List<Profile> profiles) MavenExecutionRequest.setProfiles
(List<Profile> profiles) DefaultMavenExecutionRequest.setProjectPresent
(boolean projectPresent) MavenExecutionRequest.setProjectPresent
(boolean isProjectPresent) DefaultMavenExecutionRequest.setProjectSettingsFile
(File projectSettingsFile) MavenExecutionRequest.setProjectSettingsFile
(File projectSettingsFile) DefaultMavenExecutionRequest.setProxies
(List<Proxy> proxies) MavenExecutionRequest.setProxies
(List<Proxy> proxies) DefaultMavenExecutionRequest.setReactorFailureBehavior
(String failureBehavior) MavenExecutionRequest.setReactorFailureBehavior
(String failureBehavior) DefaultMavenExecutionRequest.setRecursive
(boolean recursive) MavenExecutionRequest.setRecursive
(boolean recursive) DefaultMavenExecutionRequest.setRemoteRepositories
(List<ArtifactRepository> remoteRepositories) MavenExecutionRequest.setRemoteRepositories
(List<ArtifactRepository> repositories) Set a new list of remote repositories to use the execution request.DefaultMavenExecutionRequest.setRepositoryCache
(org.eclipse.aether.RepositoryCache repositoryCache) MavenExecutionRequest.setRepositoryCache
(org.eclipse.aether.RepositoryCache repositoryCache) DefaultMavenExecutionRequest.setResume
(boolean resume) MavenExecutionRequest.setResume
(boolean resume) Sets whether the build should be resumed from the data in the resume.properties file.DefaultMavenExecutionRequest.setResumeFrom
(String project) MavenExecutionRequest.setResumeFrom
(String project) DefaultMavenExecutionRequest.setRootDirectory
(Path rootDirectory) MavenExecutionRequest.setRootDirectory
(Path rootDirectory) Sets the root directory of the project.DefaultMavenExecutionRequest.setSelectedProjects
(List<String> selectedProjects) MavenExecutionRequest.setSelectedProjects
(List<String> projects) Deprecated.Since Maven 4: usegetProjectActivation()
.DefaultMavenExecutionRequest.setServers
(List<Server> servers) MavenExecutionRequest.setServers
(List<Server> servers) DefaultMavenExecutionRequest.setShowErrors
(boolean showErrors) MavenExecutionRequest.setShowErrors
(boolean showErrors) DefaultMavenExecutionRequest.setStartTime
(Date startTime) MavenExecutionRequest.setStartTime
(Date start) DefaultMavenExecutionRequest.setSystemProperties
(Properties properties) MavenExecutionRequest.setSystemProperties
(Properties systemProperties) Sets the system properties to use for interpolation and profile activation.DefaultMavenExecutionRequest.setToolchains
(Map<String, List<ToolchainModel>> toolchains) MavenExecutionRequest.setToolchains
(Map<String, List<ToolchainModel>> toolchains) DefaultMavenExecutionRequest.setTopDirectory
(Path topDirectory) MavenExecutionRequest.setTopDirectory
(Path topDirectory) Sets the top directory of the project.DefaultMavenExecutionRequest.setTransferListener
(org.eclipse.aether.transfer.TransferListener transferListener) MavenExecutionRequest.setTransferListener
(org.eclipse.aether.transfer.TransferListener transferListener) DefaultMavenExecutionRequest.setUpdateSnapshots
(boolean updateSnapshots) MavenExecutionRequest.setUpdateSnapshots
(boolean updateSnapshots) DefaultMavenExecutionRequest.setUseLegacyLocalRepository
(boolean useLegacyLocalRepositoryManager) MavenExecutionRequest.setUseLegacyLocalRepository
(boolean useLegacyLocalRepository) Deprecated.Since 3.9 there is no direct Maven2 interop offered at LRM level.DefaultMavenExecutionRequest.setUseReactor
(boolean reactorActive) DefaultMavenExecutionRequest.setUserProperties
(Properties userProperties) MavenExecutionRequest.setUserProperties
(Properties userProperties) Sets the user properties to use for interpolation and profile activation.DefaultMavenExecutionRequest.setUserSettingsFile
(File userSettingsFile) MavenExecutionRequest.setUserSettingsFile
(File userSettingsFile) DefaultMavenExecutionRequest.setUserToolchainsFile
(File userToolchainsFile) MavenExecutionRequest.setUserToolchainsFile
(File userToolchainsFile) DefaultMavenExecutionRequest.setWorkspaceReader
(org.eclipse.aether.repository.WorkspaceReader workspaceReader) MavenExecutionRequest.setWorkspaceReader
(org.eclipse.aether.repository.WorkspaceReader workspaceReader) Modifier and TypeMethodDescriptionvoid
BuildResumptionDataRepository.applyResumptionData
(MavenExecutionRequest request, MavenProject rootProject) Uses previously stored resumption data to enrich an existing execution request.void
DefaultBuildResumptionDataRepository.applyResumptionData
(MavenExecutionRequest request, MavenProject rootProject) static MavenExecutionRequest
DefaultMavenExecutionRequest.copy
(MavenExecutionRequest original) DefaultMavenExecutionRequestPopulator.populateDefaults
(MavenExecutionRequest request) MavenExecutionRequestPopulator.populateDefaults
(MavenExecutionRequest request) Injects default values like plugin groups or repositories into the specified execution request.DefaultMavenExecutionRequestPopulator.populateFromSettings
(MavenExecutionRequest request, Settings settings) Deprecated.MavenExecutionRequestPopulator.populateFromSettings
(MavenExecutionRequest request, Settings settings) Deprecated.DefaultMavenExecutionRequestPopulator.populateFromToolchains
(MavenExecutionRequest request, PersistedToolchains toolchains) MavenExecutionRequestPopulator.populateFromToolchains
(MavenExecutionRequest request, PersistedToolchains toolchains) Copies the values from the given toolchains into the specified execution request.ModifierConstructorDescriptionMavenSession
(org.codehaus.plexus.PlexusContainer container, MavenExecutionRequest request, MavenExecutionResult result, List<MavenProject> projects) Deprecated.MavenSession
(org.codehaus.plexus.PlexusContainer container, MavenExecutionRequest request, MavenExecutionResult result, MavenProject project) Deprecated.MavenSession
(org.codehaus.plexus.PlexusContainer container, org.eclipse.aether.RepositorySystemSession repositorySession, MavenExecutionRequest request, MavenExecutionResult result) Deprecated.MavenSession
(org.eclipse.aether.RepositorySystemSession repositorySystemSession, MavenExecutionRequest request, MavenExecutionResult result) -
Uses of MavenExecutionRequest in org.apache.maven.graph
Modifier and TypeMethodDescriptionProjectSelector.getOptionalProjectsBySelectors
(MavenExecutionRequest request, List<MavenProject> projects, Set<String> projectSelectors) ProjectSelector.getRequiredProjectsBySelectors
(MavenExecutionRequest request, List<MavenProject> projects, Set<String> projectSelectors) -
Uses of MavenExecutionRequest in org.apache.maven.internal.aether
Modifier and TypeMethodDescriptionvoid
LegacyRepositorySystemSessionExtender.extend
(MavenExecutionRequest mavenExecutionRequest, Map<String, Object> configProperties, org.eclipse.aether.repository.MirrorSelector mirrorSelector, org.eclipse.aether.repository.ProxySelector proxySelector, org.eclipse.aether.repository.AuthenticationSelector authenticationSelector) org.eclipse.aether.RepositorySystemSession
DefaultRepositorySystemSessionFactory.newRepositorySession
(MavenExecutionRequest request) Deprecated.org.eclipse.aether.RepositorySystemSession.SessionBuilder
DefaultRepositorySystemSessionFactory.newRepositorySessionBuilder
(MavenExecutionRequest request) -
Uses of MavenExecutionRequest in org.apache.maven.project.collector
Modifier and TypeMethodDescriptionMultiModuleCollectionStrategy.collectProjects
(MavenExecutionRequest request) PomlessCollectionStrategy.collectProjects
(MavenExecutionRequest request) ProjectCollectionStrategy.collectProjects
(MavenExecutionRequest request) RequestPomCollectionStrategy.collectProjects
(MavenExecutionRequest request) DefaultProjectsSelector.selectProjects
(List<File> files, MavenExecutionRequest request) ProjectsSelector.selectProjects
(List<File> files, MavenExecutionRequest request) Select Maven projects from a list of POM files. -
Uses of MavenExecutionRequest in org.apache.maven.resolver
Modifier and TypeMethodDescriptionorg.eclipse.aether.RepositorySystemSession.SessionBuilder
RepositorySystemSessionFactory.newRepositorySessionBuilder
(MavenExecutionRequest request) Creates "ready to use" session builder instance. -
Uses of MavenExecutionRequest in org.apache.maven.settings
Modifier and TypeMethodDescriptionDefaultMavenSettingsBuilder.buildSettings
(MavenExecutionRequest request) Deprecated.MavenSettingsBuilder.buildSettings
(MavenExecutionRequest request) Deprecated.