Class DefaultDependencyManagementImporter

java.lang.Object
org.apache.maven.impl.model.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.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • 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, org.apache.maven.api.services.ModelBuilderRequest request, org.apache.maven.api.services.ModelProblemCollector problems)
    Imports the specified dependency management sections into the given target model.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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, org.apache.maven.api.services.ModelBuilderRequest request, org.apache.maven.api.services.ModelProblemCollector problems)
      Description copied from interface: DependencyManagementImporter
      Imports the specified dependency management sections into the given target model.
      Specified by:
      importManagement in interface DependencyManagementImporter
      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.