Maven pom.xml: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 27: | Line 27: | ||
==<artifactId>== | ==<artifactId>== | ||
Mandatory. | Mandatory. For more details about Artifact ID, see [[Maven_Concepts#Artifact_ID|Maven Concepts - Artifact ID]]. | ||
==<version>== | ==<version>== |
Revision as of 16:40, 4 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.
<name>
Optional. See <artifactId>.
<properties>
<project> <properties> <some.property>something</some.property> <some.other.property>something else</some.other.property> </properties> ..