Maven pom.xml: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 47: | Line 47: | ||
==<properties>== | ==<properties>== | ||
< | <blockquote style="background-color: #f9f9f9; border: solid thin lightgrey;"> | ||
:[[Maven Custom System Properties]] | |||
</blockquote> | |||
Revision as of 19:52, 7 November 2016
External
- POM reference https://maven.apache.org/pom.html
Internal
Overview
<project> is the root element.
Elements
<modelVersion>
Mandatory. Should be:
<modelVersion>4.0.0</modelVersion>
<groupId>
Mandatory. For more details about Group ID, see Maven Concepts - Group ID.
<artifactId>
Mandatory. For more details about Artifact ID, see Maven Concepts - Artifact ID.
<version>
Mandatory. For more details about Version, see Maven Concepts - Version.
<packaging>
Optional, the default value is "jar". For more details about packaging, see Maven Concepts - Packaging.
<classifier>
Optional. For more details about packaging, see Maven Concepts - Classifier.
<name>
Optional. See <artifactId> and Maven Concepts - Name.