@Named public class DefaultMavenExecutionRequestPopulator extends Object implements MavenExecutionRequestPopulator
Constructor and Description |
---|
DefaultMavenExecutionRequestPopulator(MavenRepositorySystem repositorySystem) |
Modifier and Type | Method and Description |
---|---|
MavenExecutionRequest |
populateDefaults(MavenExecutionRequest request)
Injects default values like plugin groups or repositories into the specified execution request.
|
MavenExecutionRequest |
populateFromSettings(MavenExecutionRequest request,
Settings settings)
Deprecated.
|
MavenExecutionRequest |
populateFromToolchains(MavenExecutionRequest request,
PersistedToolchains toolchains)
Copies the values from the given toolchains into the specified execution request.
|
@Inject public DefaultMavenExecutionRequestPopulator(MavenRepositorySystem repositorySystem)
public MavenExecutionRequest populateFromToolchains(MavenExecutionRequest request, PersistedToolchains toolchains) throws MavenExecutionRequestPopulationException
MavenExecutionRequestPopulator
populateFromToolchains
in interface MavenExecutionRequestPopulator
request
- The execution request to populate, must not be null
.toolchains
- The toolchains to copy into the execution request, may be null
.null
.MavenExecutionRequestPopulationException
- If the execution request could not be populated.public MavenExecutionRequest populateDefaults(MavenExecutionRequest request) throws MavenExecutionRequestPopulationException
MavenExecutionRequestPopulator
populateDefaults
in interface MavenExecutionRequestPopulator
request
- The execution request to populate, must not be null
.null
.MavenExecutionRequestPopulationException
- If the execution request could not be populated.@Deprecated public MavenExecutionRequest populateFromSettings(MavenExecutionRequest request, Settings settings) throws MavenExecutionRequestPopulationException
MavenExecutionRequestPopulator
populateFromSettings
in interface MavenExecutionRequestPopulator
request
- The execution request to populate, must not be null
.settings
- The settings to copy into the execution request, may be null
.null
.MavenExecutionRequestPopulationException
- If the execution request could not be populated.Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.