Package aQute.maven.dto
Class PomDTO
java.lang.Object
aQute.maven.dto.PomDTO
The <code><project></code> element is the root of
the descriptor. The following table lists all of the possible child elements.
The <code><project></code> element is the root of
the descriptor. The following table lists all of the possible child elements.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe identifier for this artifact that is unique within the group given by the group ID.Information required to build the project.The project's continuous integration information.Describes the contributors to a project that are not yet committers.This element describes all of the dependencies associated with a project.Default dependency information for projects that inherit from this one.A detailed description of the project, used by Maven whenever it needs to describe the project, such as on the web site.Describes the committers of a project.Distribution information for a project that enables deployment of the site and artifacts to remote web servers and repositories respectively.A universally unique identifier for a project.intThe year of the project's inception, specified with 4 digits.The project's issue management system information.This element describes all of the licenses for this project.Contains information about a project's mailing lists.Declares to which version of project descriptor this POM conforms.<The full name of the project.This element describes various attributes of the organization to which the project belongs.The type of artifact this project produces, for example <code>jar</code> <code>war</code> <code>ear</code> <code>pom</code>.The location of the parent project, if one exists.The lists of the remote repositories for discovering plugins for builds and reports.Describes the prerequisites in the build environment for this project.Properties that can be used throughout the POM as a substitution, and are used as filters in resources if enabled.This element includes the specification of report plugins to use to generate the reports on the Maven-generated site.The lists of the remote repositories for discovering dependencies and extensions.Specification for the SCM used by the project, such as CVS, Subversion, etc.The URL to the project's homepage.aQute.bnd.version.MavenVersionThe current version of the artifact produced by this project. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
modelVersion
Declares to which version of project descriptor this POM conforms.< -
parent
The location of the parent project, if one exists. Values from the parent project will be the default for this project if they are left unspecified. The location is given as a group ID, artifact ID and version. -
groupId
A universally unique identifier for a project. It is normal to use a fully-qualified package name to distinguish it from other projects with a similar name (eg. <code>org.apache.maven</code>). -
artifactId
The identifier for this artifact that is unique within the group given by the group ID. An artifact is something that is either produced or used by a project. Examples of artifacts produced by Maven for a project include: JARs, source and binary distributions, and WARs. -
version
public aQute.bnd.version.MavenVersion versionThe current version of the artifact produced by this project. -
packaging
The type of artifact this project produces, for example <code>jar</code> <code>war</code> <code>ear</code> <code>pom</code>. Plugins can create their own packaging, and therefore their own packaging types, so this list does not contain all possible types. -
name
The full name of the project. -
description
A detailed description of the project, used by Maven whenever it needs to describe the project, such as on the web site. While this element can be specified as CDATA to enable the use of HTML tags within the description, it is discouraged to allow plain text representation. If you need to modify the index page of the generated web site, you are able to specify your own instead of adjusting this text. -
url
The URL to the project's homepage.
Default value is: parent value [+ path adjustment] + artifactId -
inceptionYear
public int inceptionYearThe year of the project's inception, specified with 4 digits. This value is used when generating copyright notices as well as being informational. -
organization
This element describes various attributes of the organization to which the project belongs. These attributes are utilized when documentation is created (for copyright notices and links). -
licenses
This element describes all of the licenses for this project. Each license is described by alicenseelement, which is then described by additional elements. Projects should only list the license(s) that applies to the project and not the licenses that apply to dependencies. If multiple licenses are listed, it is assumed that the user can select any of them, not that they must accept all. -
developers
Describes the committers of a project. -
contributors
Describes the contributors to a project that are not yet committers. -
mailingLists
Contains information about a project's mailing lists. -
prerequisites
Describes the prerequisites in the build environment for this project. -
scm
Specification for the SCM used by the project, such as CVS, Subversion, etc. -
issueManagement
The project's issue management system information. -
ciManagement
The project's continuous integration information. -
distributionManagement
Distribution information for a project that enables deployment of the site and artifacts to remote web servers and repositories respectively. -
properties
Properties that can be used throughout the POM as a substitution, and are used as filters in resources if enabled. The format is<name>value</name>. -
dependencyManagement
Default dependency information for projects that inherit from this one. The dependencies in this section are not immediately resolved. Instead, when a POM derived from this one declares a dependency described by a matching groupId and artifactId, the version and other values from this section are used for that dependency if they were not already specified. -
dependencies
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. -
repositories
The lists of the remote repositories for discovering dependencies and extensions. -
pluginRepositories
The lists of the remote repositories for discovering plugins for builds and reports. -
build
Information required to build the project. -
reporting
This element includes the specification of report plugins to use to generate the reports on the Maven-generated site. These reports will be run when a user executesmvn site. All of the reports will be included in the navigation bar for browsing.
-
-
Constructor Details
-
PomDTO
public PomDTO()
-