java.io.Serializablepublic class ModelBase
extends java.lang.Object
implements java.io.Serializable
Model and the
Profile objects.| Constructor | Description |
|---|---|
ModelBase() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addDependency(Dependency dependency) |
Method addDependency.
|
void |
addModule(java.lang.String string) |
Method addModule.
|
void |
addPluginRepository(Repository repository) |
Method addPluginRepository.
|
void |
addProperty(java.lang.String key,
java.lang.String value) |
Method addProperty.
|
void |
addRepository(Repository repository) |
Method addRepository.
|
java.util.List<Dependency> |
getDependencies() |
Method getDependencies.
|
DependencyManagement |
getDependencyManagement() |
Get default dependency information for projects that inherit
from this one.
|
DistributionManagement |
getDistributionManagement() |
Get distribution information for a project that enables
deployment of the site
and artifacts to remote web servers and
repositories respectively.
|
java.util.List<java.lang.String> |
getModules() |
Method getModules.
|
java.util.List<Repository> |
getPluginRepositories() |
Method getPluginRepositories.
|
java.util.Properties |
getProperties() |
Method getProperties.
|
Reporting |
getReporting() |
Get this element includes the specification of report
plugins to use
to generate the reports on the Maven-generated
site.
|
java.lang.Object |
getReports() |
Get Deprecated.
|
java.util.List<Repository> |
getRepositories() |
Method getRepositories.
|
void |
removeDependency(Dependency dependency) |
Method removeDependency.
|
void |
removeModule(java.lang.String string) |
Method removeModule.
|
void |
removePluginRepository(Repository repository) |
Method removePluginRepository.
|
void |
removeRepository(Repository repository) |
Method removeRepository.
|
void |
setDependencies(java.util.List<Dependency> dependencies) |
Set this element describes all of the dependencies
associated with a
project.
|
void |
setDependencyManagement(DependencyManagement dependencyManagement) |
Set default dependency information for projects that inherit
from this one.
|
void |
setDistributionManagement(DistributionManagement distributionManagement) |
Set distribution information for a project that enables
deployment of the site
and artifacts to remote web servers and
repositories respectively.
|
void |
setModules(java.util.List<java.lang.String> modules) |
Set the modules (sometimes called subprojects) to build as a
part of this
project.
|
void |
setPluginRepositories(java.util.List<Repository> pluginRepositories) |
Set the lists of the remote repositories for discovering
plugins for builds and
reports.
|
void |
setProperties(java.util.Properties properties) |
Set properties that can be used throughout the POM as a
substitution, and
are used as filters in resources if enabled.
|
void |
setReporting(Reporting reporting) |
Set this element includes the specification of report
plugins to use
to generate the reports on the Maven-generated
site.
|
void |
setReports(java.lang.Object reports) |
Set Deprecated.
|
void |
setRepositories(java.util.List<Repository> repositories) |
Set the lists of the remote repositories for discovering
dependencies and
extensions.
|
public void addDependency(Dependency dependency)
dependency - public void addModule(java.lang.String string)
string - public void addPluginRepository(Repository repository)
repository - public void addProperty(java.lang.String key,
java.lang.String value)
key - value - public void addRepository(Repository repository)
repository - public java.util.List<Dependency> getDependencies()
public DependencyManagement getDependencyManagement()
public DistributionManagement getDistributionManagement()
public java.util.List<java.lang.String> getModules()
public java.util.List<Repository> getPluginRepositories()
public java.util.Properties getProperties()
public Reporting getReporting()
mvn site.
All of the reports will be included in the
navigation bar for browsing.public java.lang.Object getReports()
public java.util.List<Repository> getRepositories()
public void removeDependency(Dependency dependency)
dependency - public void removeModule(java.lang.String string)
string - public void removePluginRepository(Repository repository)
repository - public void removeRepository(Repository repository)
repository - public void setDependencies(java.util.List<Dependency> dependencies)
dependencies - public void setDependencyManagement(DependencyManagement dependencyManagement)
dependencyManagement - public void setDistributionManagement(DistributionManagement distributionManagement)
distributionManagement - public void setModules(java.util.List<java.lang.String> modules)
modules - public void setPluginRepositories(java.util.List<Repository> pluginRepositories)
pluginRepositories - public void setProperties(java.util.Properties properties)
<name>value</name>.properties - public void setReporting(Reporting reporting)
mvn site.
All of the reports will be included in the
navigation bar for browsing.reporting - public void setReports(java.lang.Object reports)
reports - public void setRepositories(java.util.List<Repository> repositories)
repositories -