Package org.apache.maven.impl.model
Class DefaultPluginManagementInjector
java.lang.Object
org.apache.maven.impl.model.DefaultPluginManagementInjector
- All Implemented Interfaces:
PluginManagementInjector
@Named
@Singleton
public class DefaultPluginManagementInjector
extends Object
implements PluginManagementInjector
Handles injection of plugin management into the model.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classManagementModelMerger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.maven.api.model.ModelinjectManagement(org.apache.maven.api.model.Model model, org.apache.maven.api.services.ModelBuilderRequest request, org.apache.maven.api.services.ModelProblemCollector problems) Merges default values from the plugin management section of the given model into itself.
-
Constructor Details
-
DefaultPluginManagementInjector
public DefaultPluginManagementInjector()
-
-
Method Details
-
injectManagement
public org.apache.maven.api.model.Model injectManagement(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:PluginManagementInjectorMerges default values from the plugin management section of the given model into itself.- Specified by:
injectManagementin interfacePluginManagementInjector- Parameters:
model- The model into which to merge the values specified by its plugin management section, must not benull.request- The model building request that holds further settings, must not benull.problems- The container used to collect problems that were encountered, must not benull.
-