Class DefaultLifecycleBindingsInjector

java.lang.Object
org.apache.maven.impl.model.DefaultLifecycleBindingsInjector
All Implemented Interfaces:
LifecycleBindingsInjector

@Named @Singleton public class DefaultLifecycleBindingsInjector extends Object implements LifecycleBindingsInjector
Handles injection of plugin executions induced by the lifecycle bindings for a packaging.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    protected static class 
    The domain-specific model merger for lifecycle bindings
  • Constructor Summary

    Constructors
    Constructor
    Description
    DefaultLifecycleBindingsInjector(org.apache.maven.api.services.LifecycleRegistry lifecycleRegistry, org.apache.maven.api.services.PackagingRegistry packagingRegistry)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.maven.api.model.Model
    injectLifecycleBindings(org.apache.maven.api.model.Model model, org.apache.maven.api.services.ModelBuilderRequest request, org.apache.maven.api.services.ModelProblemCollector problems)
    Injects plugin executions induced by lifecycle bindings into the specified model.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DefaultLifecycleBindingsInjector

      @Inject public DefaultLifecycleBindingsInjector(org.apache.maven.api.services.LifecycleRegistry lifecycleRegistry, org.apache.maven.api.services.PackagingRegistry packagingRegistry)
  • Method Details

    • injectLifecycleBindings

      public org.apache.maven.api.model.Model injectLifecycleBindings(org.apache.maven.api.model.Model model, org.apache.maven.api.services.ModelBuilderRequest request, org.apache.maven.api.services.ModelProblemCollector problems)
      Description copied from interface: LifecycleBindingsInjector
      Injects plugin executions induced by lifecycle bindings into the specified model. The model has already undergone injection of plugin management so any plugins that are injected by lifecycle bindings and are not already present in the model's plugin section need to be subjected to the model's plugin management.
      Specified by:
      injectLifecycleBindings in interface LifecycleBindingsInjector
      Parameters:
      model - The model into which to inject the default plugin executions for its packaging, must not be null.
      request - The model building request that holds further settings, must not be null.
      problems - The container used to collect problems that were encountered, must not be null.