@ Override public void configureComponent ( final Object component , final PlexusConfiguration configuration , final ExpressionEvaluator expressionEvaluator , final ClassRealm containerRealm , final ConfigurationListener listener ) throws ComponentConfigurationException { final String serverType = getServerType ( configuration ) ; if ( ! serverType . startsWith ( "dependency-" ) ) { addServerDependenciesToClassRealm ( serverType , expressionEvaluator , containerRealm ) ; } converterLookup . registerConverter ( new ClassRealmConverter ( containerRealm ) ) ; final ObjectWithFieldsConverter converter = new ObjectWithFieldsConverter ( ) ; converter . processConfiguration ( converterLookup , component , containerRealm , configuration , expressionEvaluator , listener ) ; }
Configure the Mojo by adding the dependencies for the LDAP server type to the class loader .