Project Object Model (POM)
Any Maven project must have a pom.xml
file. POM is the Maven project descriptor just like the web.xml
file in your Java EE web application, or the build.xml
file in your Ant project. The following code lists out all the key elements in a Maven pom.xml
file. As we proceed with the book, we will discuss how to use each element in the most effective manner:
<project> <parent>...</parent> <modelVersion>4.0.0</modelVersion> <groupId>...</groupId> <artifactId>...</artifactId> <version>...</version> <packaging>...</packaging> <name>...</name> <description>...</description> <url>...</url> <inceptionYear>...</inceptionYear> <licenses>...</licenses> <organization>...</organization> <developers>...</developers> <contributors>...</contributors...