Package org.apache.maven.model
Class DependencyManagement
java.lang.Object
org.apache.maven.model.DependencyManagement
- All Implemented Interfaces:
- Serializable,- Cloneable,- InputLocationTracker
public class DependencyManagement
extends Object
implements Serializable, Cloneable, InputLocationTracker
Section for management of default dependency information for use
 in a group of
         POMs.
- Version:
- $Revision$ $Date$
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddDependency(Dependency dependency) Method addDependency.clone()Method clone.Method getDependencies.getLocation(Object key) Gets the location of the specified field in the input source.voidremoveDependency(Dependency dependency) Method removeDependency.voidsetDependencies(List<Dependency> dependencies) Set the dependencies specified here are not used until they are referenced in a POM within the group.voidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidsetOtherLocation(Object key, InputLocation location) 
- 
Constructor Details- 
DependencyManagementpublic DependencyManagement()
 
- 
- 
Method Details- 
addDependencyMethod addDependency.- Parameters:
- dependency- a dependency object.
 
- 
cloneMethod clone.
- 
getDependenciesMethod getDependencies.- Returns:
- List
 
- 
getLocationDescription copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Specified by:
- getLocationin interface- InputLocationTracker
- Parameters:
- key- a key object.
- Returns:
- InputLocation
 
- 
setLocationDescription copied from interface:InputLocationTrackerSets the location of the specified field.- Specified by:
- setLocationin interface- InputLocationTracker
- Parameters:
- key- a key object.
- location- a location object.
 
- 
setOtherLocation- Parameters:
- key- a key object.
- location- a location object.
 
- 
removeDependencyMethod removeDependency.- Parameters:
- dependency- a dependency object.
 
- 
setDependenciesSet the dependencies specified here are not used until they are referenced in a POM within the group. This allows the specification of a "standard" version for a particular dependency.- Parameters:
- dependencies- a dependencies object.
 
 
-