org.apache.maven.model.composition
Class DefaultDependencyManagementImporter

java.lang.Object
  extended by org.apache.maven.model.composition.DefaultDependencyManagementImporter
All Implemented Interfaces:
DependencyManagementImporter

@Component(role=DependencyManagementImporter.class)
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
DefaultDependencyManagementImporter()
           
 
Method Summary
 void importManagement(Model target, List<? extends DependencyManagement> sources, ModelBuildingRequest request, 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 Detail

DefaultDependencyManagementImporter

public DefaultDependencyManagementImporter()
Method Detail

importManagement

public void importManagement(Model target,
                             List<? extends DependencyManagement> sources,
                             ModelBuildingRequest request,
                             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.


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.