@Component(role=WagonConfigurator.class, hint="plexus") public class PlexusWagonConfigurator extends Object implements WagonConfigurator
Constructor and Description |
---|
PlexusWagonConfigurator()
Creates an uninitialized wagon configurator.
|
PlexusWagonConfigurator(org.codehaus.plexus.PlexusContainer container)
Creates a wagon configurator using the specified Plexus container.
|
public PlexusWagonConfigurator()
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
WagonConfigurator
configure
in interface WagonConfigurator
wagon
- 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–2017 The Apache Software Foundation. All rights reserved.