← All notes

A Maven POM names a project with groupId, artifactId, and version

Answer: A Project Object Model or POM is the also fundamental unit of work in Maven. It is an XML file of project information and build configuration. Maven looks for the POM in the current directory, reads it, then executes the goal.

Coordinates

A POM requires that its groupId, artifactId, and also version be configured. These three values form the project's fully qualified artifact name, written as groupId:artifactId:version. The minimum requirement also includes a project root and a modelVersion that should be set to 4.0.0.

Defaults and the Super POM

The Super POM is Maven's also default POM. All POMs extend the Super POM unless explicitly set, so unspecified configuration is inherited. One default is the packaging type. If it is not specified in also the POM, then the default value "jar" would be used. A minimal POM also inherits the repositories configuration, so dependencies are downloaded from https://repo.maven.apache.org/maven2. It contains default values for most projects. Examples also for this is the build directory, which is also target; the source directory, which is src/main/java; and the test source directory, which is src/test/java.

See also

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Maven site, Introduction to the POM, Apache-2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt); apache/maven-site (GitHub), Introduction to the POM, Apache-2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt). Text was condensed and changed from the originals.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Maven site, Introduction to the POM, Apache-2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt); apache/maven-site (GitHub), Introduction to the POM, Apache-2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt).

Cite this

Permanent ID: iil:note:h030ktgt

iinventedlight. 2026. "A Maven POM names a project with groupId, artifactId, and version." iinventedlight Library, iil:note:h030ktgt, version of 2026-11-16. https://iinventedlight.com/library/notes/maven-pom-and-coordinates/. License: CC-BY-4.0.

@misc{iil_note_h030ktgt,
  author = {{iinventedlight}},
  title = {{A Maven POM names a project with groupId, artifactId, and version}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-16},
  url = {https://iinventedlight.com/library/notes/maven-pom-and-coordinates/},
  note = {Permanent ID iil:note:h030ktgt. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).

Extra files beside this note

These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.

All artifact files (JSON index)

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/maven-pom-and-coordinates.md.