@Named(value="plexus") @Singleton public class PlexusWagonConfigurator extends Object implements WagonConfigurator
| Constructor and Description |
|---|
PlexusWagonConfigurator(org.codehaus.plexus.PlexusContainer container)
Creates a wagon configurator using the specified Plexus container.
|
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.apache.maven.wagon.Wagon wagon,
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, Object configuration) throws 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.Exception - If the configuration could not be applied to the wagon.Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.