@Component(role=MavenExecutionRequestPopulator.class) public class DefaultMavenExecutionRequestPopulator extends Object implements MavenExecutionRequestPopulator
Constructor and Description |
---|
DefaultMavenExecutionRequestPopulator() |
Modifier and Type | Method and Description |
---|---|
ArtifactRepository |
createLocalRepository(MavenExecutionRequest request) |
MavenExecutionRequest |
populateDefaults(MavenExecutionRequest request)
Injects default values like plugin groups or repositories into the specified execution request.
|
MavenExecutionRequest |
populateFromSettings(MavenExecutionRequest request,
Settings settings)
Copies the values from the given settings into the specified execution request.
|
public DefaultMavenExecutionRequestPopulator()
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.public ArtifactRepository createLocalRepository(MavenExecutionRequest request) throws MavenExecutionRequestPopulationException
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.Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.