Class ClassRealmConfigurator
java.lang.Object
org.codehaus.plexus.component.configurator.AbstractComponentConfigurator
org.wurbelizer.maven.ClassRealmConfigurator
- All Implemented Interfaces:
org.codehaus.plexus.component.configurator.ComponentConfigurator
@Named("set-classrealm")
public class ClassRealmConfigurator
extends org.codehaus.plexus.component.configurator.AbstractComponentConfigurator
A custom configurator for the
WurbelMojo and the TestWurbelMojo.
Extracts the classrealm and makes it available to the mojos. This is necessary in multimodule maven projects if wurblets are compiled in one module and used in other modules of the project. Otherwise, the first build of the super-pom will fail.
- Author:
- harald
- See Also:
-
Field Summary
Fields inherited from class org.codehaus.plexus.component.configurator.AbstractComponentConfigurator
converterLookupFields inherited from interface org.codehaus.plexus.component.configurator.ComponentConfigurator
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigureComponent(Object component, org.codehaus.plexus.configuration.PlexusConfiguration configuration, org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator expressionEvaluator, org.codehaus.plexus.classworlds.realm.ClassRealm containerRealm, org.codehaus.plexus.component.configurator.ConfigurationListener listener) Methods inherited from class org.codehaus.plexus.component.configurator.AbstractComponentConfigurator
configureComponent, configureComponent
-
Constructor Details
-
ClassRealmConfigurator
public ClassRealmConfigurator()
-
-
Method Details
-
configureComponent
public void configureComponent(Object component, org.codehaus.plexus.configuration.PlexusConfiguration configuration, org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator expressionEvaluator, org.codehaus.plexus.classworlds.realm.ClassRealm containerRealm, org.codehaus.plexus.component.configurator.ConfigurationListener listener) throws org.codehaus.plexus.component.configurator.ComponentConfigurationException - Specified by:
configureComponentin interfaceorg.codehaus.plexus.component.configurator.ComponentConfigurator- Overrides:
configureComponentin classorg.codehaus.plexus.component.configurator.AbstractComponentConfigurator- Throws:
org.codehaus.plexus.component.configurator.ComponentConfigurationException
-