Class DefaultDependencyManagementInjector
java.lang.Object
org.apache.maven.model.management.DefaultDependencyManagementInjector
- All Implemented Interfaces:
DependencyManagementInjector
@Named
@Singleton
public class DefaultDependencyManagementInjector
extends Object
implements DependencyManagementInjector
Handles injection of dependency management into the model.
- Author:
- Benjamin Bentmann
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classManagementModelMerger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinjectManagement(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Merges default values from the dependency management section of the given model into itself.
-
Constructor Details
-
DefaultDependencyManagementInjector
public DefaultDependencyManagementInjector()
-
-
Method Details
-
injectManagement
public void injectManagement(Model model, ModelBuildingRequest request, ModelProblemCollector problems) Description copied from interface:DependencyManagementInjectorMerges default values from the dependency management section of the given model into itself.- Specified by:
injectManagementin interfaceDependencyManagementInjector- Parameters:
model- The model into which to merge the values specified by its dependency management sections, 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.
-