Class DefaultDependencyManagementImporter
java.lang.Object
org.apache.maven.model.composition.DefaultDependencyManagementImporter
- All Implemented Interfaces:
DependencyManagementImporter
@Named
@Singleton
@Deprecated(since="4.0.0")
public class DefaultDependencyManagementImporter
extends Object
implements DependencyManagementImporter
Deprecated.
Handles the import of dependency management from other models into the target model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionimportManagement
(Model target, List<? extends DependencyManagement> sources, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.Imports the specified dependency management sections into the given target model.
-
Constructor Details
-
DefaultDependencyManagementImporter
public DefaultDependencyManagementImporter()Deprecated.
-
-
Method Details
-
importManagement
public Model importManagement(Model target, List<? extends DependencyManagement> sources, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.Description copied from interface:DependencyManagementImporter
Imports the specified dependency management sections into the given target model.- Specified by:
importManagement
in interfaceDependencyManagementImporter
- Parameters:
target
- The model into which to import the dependency management section, must not benull
.sources
- The dependency management sections to import, may 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
.
-
ModelBuilder
instead