Long and short designations

Maven standardizes the way to identify a dependency. So, each dependency is described by the following data:

  • groupId: A macro group or family of projects or archives to which a project belongs. Usually a same groupId gathers projects released by a same editor or that share a same functional domain. For example, junit, org.hibernate, and org.richfaces.ui.
  • artifactId: The unique identifier of the project among the projects sharing the same groupId. For example, junit, hibernate-annotations, and richfaces-components-ui.
  • version: This tag can have various values:
    • If no version is hinted, then Maven will use the last available artifact in the local repository.
    • The version of the project may be one of the following:
      1. A release ...

Get Apache Maven Dependency Management now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.