@Named @Singleton public class DefaultDependencyManagementImporter extends Object implements DependencyManagementImporter
Constructor and Description |
---|
DefaultDependencyManagementImporter() |
Modifier and Type | Method and Description |
---|---|
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.
|
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)
DependencyManagementImporter
importManagement
in interface DependencyManagementImporter
target
- The model into which to import the dependency management section, must not be null
.sources
- The dependency management sections to import, may be null
.request
- The model building request that holds further settings, must not be null
.problems
- The container used to collect problems that were encountered, must not be null
.Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.