org.apache.maven.model.management
Class DefaultDependencyManagementInjector

java.lang.Object
  extended by org.apache.maven.model.management.DefaultDependencyManagementInjector
All Implemented Interfaces:
DependencyManagementInjector

@Component(role=DependencyManagementInjector.class)
public class DefaultDependencyManagementInjector
extends Object
implements DependencyManagementInjector

Handles injection of dependency management into the model.

Author:
Benjamin Bentmann

Constructor Summary
DefaultDependencyManagementInjector()
           
 
Method Summary
 void injectManagement(Model model, ModelBuildingRequest request, ModelProblemCollector problems)
          Merges default values from the dependency management section of the given model into itself.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDependencyManagementInjector

public DefaultDependencyManagementInjector()
Method Detail

injectManagement

public void injectManagement(Model model,
                             ModelBuildingRequest request,
                             ModelProblemCollector problems)
Description copied from interface: DependencyManagementInjector
Merges default values from the dependency management section of the given model into itself.

Specified by:
injectManagement in interface DependencyManagementInjector
Parameters:
model - The model into which to merge the values specified by its dependency management sections, must not 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-2012 The Apache Software Foundation. All Rights Reserved.