Package org.apache.maven.model.v3_0_0
Class ModelBase
- java.lang.Object
-
- org.apache.maven.model.v3_0_0.ModelBase
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
Model
public class ModelBase extends java.lang.Object implements java.io.Serializable
Base class for theModel
and theProfile
objects.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ModelBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDependency(Dependency dependency)
Method addDependency.java.util.List<Dependency>
getDependencies()
Method getDependencies.void
removeDependency(Dependency dependency)
Method removeDependency.void
setDependencies(java.util.List<Dependency> dependencies)
Set this element describes all of the dependencies associated with a project.
-
-
-
Method Detail
-
addDependency
public void addDependency(Dependency dependency)
Method addDependency.- Parameters:
dependency
-
-
getDependencies
public java.util.List<Dependency> getDependencies()
Method getDependencies.- Returns:
- List
-
removeDependency
public void removeDependency(Dependency dependency)
Method removeDependency.- Parameters:
dependency
-
-
setDependencies
public void setDependencies(java.util.List<Dependency> dependencies)
Set this element describes all of the dependencies associated with a project. These dependencies are used to construct a classpath for your project during the build process. They are automatically downloaded from the repositories defined in this project. See the dependency mechanism for more information.- Parameters:
dependencies
-
-
-