Element |
Description |
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. |
modelVersion |
Declares to which version of project descriptor this POM conforms. |
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. org.apache.maven ). |
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. |
packaging |
The type of artifact this project produces, for example jar war ear pom . 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. |
version |
The current version of the artifact produced by this 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. |
prerequisites |
Describes the prerequisites in the build environment for this project. |
issueManagement |
The project‘s issue management system information. |
ciManagement |
The project‘s continuous integration information. |
inceptionYear |
The year of the project‘s inception, specified with 4 digits. This value is used when generating copyright notices as well as being informational. |
mailingLists |
Contains information about a project‘s mailing lists. |
developers |
Describes the committers of a project. |
contributors |
Describes the contributors to a project that are not yet committers. |
licenses |
This element describes all of the licenses for this project. Each license is described by a license element, 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. |
scm |
Specification for the SCM used by the project, such as CVS, Subversion, etc. |
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). |
build |
Information required to build the project. |
profiles |
A listing of project-local build profiles which will modify the build process when activated. |
modules |
The modules (sometimes called subprojects) to build as a part of this project. Each module listed is a relative path to the directory containing the module. |
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. |
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. |
reports |
Deprecated. Now ignored by Maven. |
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 executes mvn site . All of the reports will be included in the navigation bar for browsing. |
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. |
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> . |