Package org.apache.maven.model
Class DependencyManagement
java.lang.Object
org.apache.maven.model.DependencyManagement
- All Implemented Interfaces:
Serializable
Section for management of default dependency information for use
in a group of
POMs.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDependency
(Dependency dependency) Method addDependency.Method getDependencies.void
removeDependency
(Dependency dependency) Method removeDependency.void
setDependencies
(List<Dependency> dependencies) Set the dependencies specified here are not used until they are referenced in a POM within the group.
-
Constructor Details
-
DependencyManagement
public DependencyManagement()
-
-
Method Details
-
addDependency
Method addDependency.- Parameters:
dependency
- a dependency object.
-
getDependencies
Method getDependencies.- Returns:
- List
-
removeDependency
Method removeDependency.- Parameters:
dependency
- a dependency object.
-
setDependencies
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
- a dependencies object.
-