Maven pom.xml: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
</pre> | </pre> | ||
=< | ==<groupId>== | ||
Mandatory. | |||
=< | ==<artifactId>== | ||
Mandatory. The artifactId is generally the name that the project is known by. | |||
= | ==<version>== | ||
Mandatory. | |||
==<name>== | |||
Optional. See <tt>[[#.3CartifactId.3E|<artifactId>]]</tt>. | |||
==<properties>== | |||
<pre> | <pre> |
Revision as of 16:23, 4 November 2016
Internal
Overview
<project> is the root element.
Elements
<modelVersion>
Mandatory. Should be:
<modelVersion>4.0.0</modelVersion>
<groupId>
Mandatory.
<artifactId>
Mandatory. The artifactId is generally the name that the project is known by.
<version>
Mandatory.
<name>
Optional. See <artifactId>.
<properties>
<project> <properties> <some.property>something</some.property> <some.other.property>something else</some.other.property> </properties> ..