Interface DependencyManagementImporter
- All Known Implementing Classes:
DefaultDependencyManagementImporter
public interface DependencyManagementImporter
Handles the import of dependency management from other models into the target model.
-
Method Summary
Modifier and TypeMethodDescriptionorg.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) Imports the specified dependency management sections into the given target model.
-
Method Details
-
importManagement
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) Imports the specified dependency management sections into the given target model.- 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
.
-