Maven coordinates
The group, artifact and version that together uniquely name a project or library, such as com.example:inventory:1.0.0.
In more detail
The group ID is usually a reversed domain name, the artifact ID names the module, and the version names the release. You use the same three values to identify your own project and to depend on someone else's. Maven and Gradle both use these coordinates, so the same library is found the same way by either tool.
Examples
com.fasterxml.jackson.core:jackson-databind:2.22.2testImplementation("org.junit.jupiter:junit-jupiter:5.14.4")Related terms
- POM — Maven's project file, pom.xml, which declares a project's coordinates, properties, dependencies and plugins.
- dependency — Anything a program needs in order to work, such as a library, a tool or another service.
- Maven repository — A server or folder that stores published libraries by their coordinates, from which Maven and Gradle download dependencies.
Taught in
- The Toolchain: Maven — Modern Java: Virtual Threads & High-Throughput Services
- The Toolchain: Gradle — Modern Java: Virtual Threads & High-Throughput Services