POM
Maven's project file, pom.xml, which declares a project's coordinates, properties, dependencies and plugins.
In more detail
POM stands for project object model. It declares what is true about the project rather than listing steps to run. The top holds a fixed schema header and the project's group, artifact and version; below come properties, dependencies and build plugins. It is written in XML.
Examples
<groupId>com.example</groupId><artifactId>inventory</artifactId>Related terms
- Maven — A build tool for Java in which a project declares itself in a pom.xml file and is built by a fixed lifecycle of phases.
- Maven coordinates — The group, artifact and version that together uniquely name a project or library, such as com.example:inventory:1.0.0.
- Maven property — A named value in a pom.xml properties block, reused elsewhere in the file as ${name} or read by plugins.
- XML — A text format that stores structured data as nested elements marked with tags in angle brackets, readable by both people and programs.
Taught in
- The Toolchain: Maven — Modern Java: Virtual Threads & High-Throughput Services