Class IncludeProjectTestDependenciesComponentConfigurator

  • All Implemented Interfaces:
    org.codehaus.plexus.component.configurator.ComponentConfigurator

    public class IncludeProjectTestDependenciesComponentConfigurator
    extends AbstractIncludeProjectDependenciesComponentConfigurator
    A custom ComponentConfigurator which adds the project's test classpath elements.
    Since:
    1.0-beta-3
    Author:
    Brian Jackson, Keegan Witt
    • Constructor Detail

      • IncludeProjectTestDependenciesComponentConfigurator

        public IncludeProjectTestDependenciesComponentConfigurator()
    • Method Detail

      • 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:
        configureComponent in interface org.codehaus.plexus.component.configurator.ComponentConfigurator
        Overrides:
        configureComponent in class org.codehaus.plexus.component.configurator.AbstractComponentConfigurator
        Parameters:
        component - the Component to configure
        configuration - the Configuration to use to configure the component
        expressionEvaluator - the ExpressionEvaluator
        containerRealm - the Classrealm to use to configure the component
        listener - the component's Listener
        Throws:
        org.codehaus.plexus.component.configurator.ComponentConfigurationException - when an exception occurs in component configuration
      • configureComponent

        public void configureComponent​(Object component,
                                       org.codehaus.plexus.configuration.PlexusConfiguration configuration,
                                       org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator expressionEvaluator,
                                       org.codehaus.classworlds.ClassRealm containerRealm,
                                       org.codehaus.plexus.component.configurator.ConfigurationListener listener)
                                throws org.codehaus.plexus.component.configurator.ComponentConfigurationException
        Parameters:
        component - the Component to configure
        configuration - the Configuration to use to configure the component
        expressionEvaluator - the ExpressionEvaluator
        containerRealm - the Classrealm to use to configure the component
        listener - the component's Listener
        Throws:
        org.codehaus.plexus.component.configurator.ComponentConfigurationException - when an exception occurs in component configuration