WagonConfigurator@Named("plexus")
@Singleton
public class PlexusWagonConfigurator
extends java.lang.Object
implements WagonConfigurator
| Constructor | Description |
|---|---|
PlexusWagonConfigurator(org.codehaus.plexus.PlexusContainer container) |
Creates a wagon configurator using the specified Plexus container.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
configure(org.apache.maven.wagon.Wagon wagon,
java.lang.Object configuration) |
Configures the specified wagon instance with the given configuration.
|
@Inject public PlexusWagonConfigurator(org.codehaus.plexus.PlexusContainer container)
container - The Plexus container instance to use, must not be null.public void configure(org.apache.maven.wagon.Wagon wagon, java.lang.Object configuration) throws java.lang.Exception
WagonConfiguratorconfigure in interface WagonConfiguratorwagon - The wagon instance to configure, must not be null.configuration - The configuration to apply to the wagon instance, must not be null.java.lang.Exception - If the configuration could not be applied to the wagon.