Klasse IncludeProjectCompileDependenciesComponentConfigurator

java.lang.Object
org.codehaus.plexus.component.configurator.AbstractComponentConfigurator
com.github.hypfvieh.java.maven.plugin.plexus.IncludeProjectCompileDependenciesComponentConfigurator
Alle implementierten Schnittstellen:
org.codehaus.plexus.component.configurator.ComponentConfigurator

@Component(role=org.codehaus.plexus.component.configurator.ComponentConfigurator.class, hint="include-project-compile-dependencies") public class IncludeProjectCompileDependenciesComponentConfigurator extends org.codehaus.plexus.component.configurator.AbstractComponentConfigurator
A custom ComponentConfigurator which adds the project's compile classpath elements.
Seit:
1.0.0 - 2024-01-25
Autor:
hypfvieh
  • Feldübersicht

    Von Klasse geerbte Felder org.codehaus.plexus.component.configurator.AbstractComponentConfigurator

    converterLookup

    Von Schnittstelle geerbte Felder org.codehaus.plexus.component.configurator.ComponentConfigurator

    ROLE
  • Konstruktorübersicht

    Konstruktoren
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    protected void
    addDependenciesToClassRealm(org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator _expressionEvaluator, org.apache.maven.plugins.annotations.ResolutionScope _scope, org.codehaus.plexus.classworlds.realm.ClassRealm _containerRealm)
    Adds the project's compile dependencies to the specified ClassRealm.
    protected URL[]
    buildURLs(List<?> _classpathElements)
    Create an array of URLs for all the elements in the classpath.
    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)
     

    Von Klasse geerbte Methoden org.codehaus.plexus.component.configurator.AbstractComponentConfigurator

    configureComponent, configureComponent

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • IncludeProjectCompileDependenciesComponentConfigurator

      public IncludeProjectCompileDependenciesComponentConfigurator()
  • Methodendetails

    • addDependenciesToClassRealm

      protected void addDependenciesToClassRealm(org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator _expressionEvaluator, org.apache.maven.plugins.annotations.ResolutionScope _scope, org.codehaus.plexus.classworlds.realm.ClassRealm _containerRealm) throws org.codehaus.plexus.component.configurator.ComponentConfigurationException
      Adds the project's compile dependencies to the specified ClassRealm.
      Parameter:
      _expressionEvaluator - The expression evaluator to use to get project elements
      _scope - The classpath to load into the container realm
      _containerRealm - The ClassRealm to add dependencies to
      Löst aus:
      org.codehaus.plexus.component.configurator.ComponentConfigurationException - when parsing components configuration fails
    • buildURLs

      protected URL[] buildURLs(List<?> _classpathElements) throws org.codehaus.plexus.component.configurator.ComponentConfigurationException
      Create an array of URLs for all the elements in the classpath. Will prevent adding the same classpaths twice.
      Parameter:
      _classpathElements - The classpath elements to create URLs for
      Gibt zurück:
      URLs for all the classpath elements
      Löst aus:
      org.codehaus.plexus.component.configurator.ComponentConfigurationException - when parsing components configuration fails
    • 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
      Angegeben von:
      configureComponent in Schnittstelle org.codehaus.plexus.component.configurator.ComponentConfigurator
      Setzt außer Kraft:
      configureComponent in Klasse org.codehaus.plexus.component.configurator.AbstractComponentConfigurator
      Parameter:
      _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
      Löst aus:
      org.codehaus.plexus.component.configurator.ComponentConfigurationException - when an exception occurs in component configuration