Class PlexusWagonConfigurator
- java.lang.Object
-
- org.eclipse.aether.internal.transport.wagon.PlexusWagonConfigurator
-
- All Implemented Interfaces:
WagonConfigurator
@Named("plexus") @Singleton public class PlexusWagonConfigurator extends Object implements WagonConfigurator
A wagon configurator based on the Plexus component configuration framework.
-
-
Constructor Summary
Constructors Constructor Description PlexusWagonConfigurator(org.codehaus.plexus.PlexusContainer container)
Creates a wagon configurator using the specified Plexus container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(org.apache.maven.wagon.Wagon wagon, Object configuration)
Configures the specified wagon instance with the given configuration.
-
-
-
Constructor Detail
-
PlexusWagonConfigurator
@Inject public PlexusWagonConfigurator(org.codehaus.plexus.PlexusContainer container)
Creates a wagon configurator using the specified Plexus container.- Parameters:
container
- The Plexus container instance to use, must not benull
.
-
-
Method Detail
-
configure
public void configure(org.apache.maven.wagon.Wagon wagon, Object configuration) throws Exception
Description copied from interface:WagonConfigurator
Configures the specified wagon instance with the given configuration.- Specified by:
configure
in interfaceWagonConfigurator
- Parameters:
wagon
- The wagon instance to configure, must not benull
.configuration
- The configuration to apply to the wagon instance, must not benull
.- Throws:
Exception
- If the configuration could not be applied to the wagon.
-
-