Class DefaultDependencyManagementImporter
java.lang.Object
org.apache.maven.model.composition.DefaultDependencyManagementImporter
- All Implemented Interfaces:
DependencyManagementImporter
@Named
@Singleton
public class DefaultDependencyManagementImporter
extends Object
implements DependencyManagementImporter
Handles the import of dependency management from other models into the target model.
- Author:
- Benjamin Bentmann
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.maven.api.model.ModelimportManagement(org.apache.maven.api.model.Model target, List<? extends org.apache.maven.api.model.DependencyManagement> sources, ModelBuildingRequest request, ModelProblemCollector problems) Imports the specified dependency management sections into the given target model.
-
Constructor Details
-
DefaultDependencyManagementImporter
public DefaultDependencyManagementImporter()
-
-
Method Details
-
importManagement
public org.apache.maven.api.model.Model importManagement(org.apache.maven.api.model.Model target, List<? extends org.apache.maven.api.model.DependencyManagement> sources, ModelBuildingRequest request, ModelProblemCollector problems) Description copied from interface:DependencyManagementImporterImports the specified dependency management sections into the given target model.- Specified by:
importManagementin 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.
-