Maven pom.xml: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 4: | Line 4: | ||
=Overview= | =Overview= | ||
<project> is the root element. | |||
=Elements= | |||
==<<modelVersion>== | |||
Mandatory. Should be: | |||
<pre> | |||
<modelVersion>4.0.0</modelVersion> | |||
</pre> | |||
=<artifactId>= | =<artifactId>= |
Revision as of 16:21, 4 November 2016
Internal
Overview
<project> is the root element.
Elements
<<modelVersion>
Mandatory. Should be:
<modelVersion>4.0.0</modelVersion>
<artifactId>
The artifactId is generally the name that the project is known by.
<name>
Is optional. See <artifactId>.
Properties
<project> <properties> <some.property>something</some.property> <some.other.property>something else</some.other.property> </properties> ..