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.
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
ManagementModelMerger -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
injectManagement
(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:DependencyManagementInjector
Merges default values from the dependency management section of the given model into itself.- Specified by:
injectManagement
in 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
.
-