Class DefaultPluginManagementInjector

  • All Implemented Interfaces:
    PluginManagementInjector

    @Named
    @Singleton
    public class DefaultPluginManagementInjector
    extends java.lang.Object
    implements PluginManagementInjector
    Handles injection of plugin management into the model.
    Author:
    Benjamin Bentmann
    • Constructor Detail

      • DefaultPluginManagementInjector

        public DefaultPluginManagementInjector()
    • Method Detail

      • injectManagement

        public void injectManagement​(org.apache.maven.model.Model model,
                                     ModelBuildingRequest request,
                                     ModelProblemCollector problems)
        Description copied from interface: PluginManagementInjector
        Merges default values from the plugin management section of the given model into itself.
        Specified by:
        injectManagement in interface PluginManagementInjector
        Parameters:
        model - The model into which to merge the values specified by its plugin management section, 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.