Maven pom.xml: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 9: Line 9:
=Elements=
=Elements=


==<<modelVersion>==
==<modelVersion>==


Mandatory. Should be:
Mandatory. Should be:

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>
  ..