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 Type
    Method
    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.
  • 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 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.