Package org.apache.maven.model
Class DependencyManagement
- java.lang.Object
-
- org.apache.maven.model.DependencyManagement
-
- All Implemented Interfaces:
Serializable
public class DependencyManagement extends Object implements Serializable
Section for management of default dependency information for use in a group of POMs.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DependencyManagement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDependency(Dependency dependency)Method addDependency.List<Dependency>getDependencies()Method getDependencies.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.
-
-
-
Method Detail
-
addDependency
public void addDependency(Dependency dependency)
Method addDependency.- Parameters:
dependency-
-
getDependencies
public List<Dependency> getDependencies()
Method getDependencies.- Returns:
- List
-
removeDependency
public void removeDependency(Dependency dependency)
Method removeDependency.- Parameters:
dependency-
-
setDependencies
public void setDependencies(List<Dependency> dependencies)
Set 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-
-
-