Home >Java >javaTutorial >What are maven coordinates
Maven coordinates are composed of three parts: groupId, artifactId and version. Detailed introduction: 1. groupId (organization ID): Indicates the organization or project group to which the project belongs. It is usually named in reverse order of the domain name. For example, com.example; 2. artifactId (project ID): represents the unique identifier of the project within the organization. For example, my-project; 3. Version (version number): Indicates the version number of the project. For example, 1.0.0.
Operating system for this tutorial: Windows 10 system, Dell G3 computer.
Maven coordinates usually consist of three parts: groupId, artifactId and version. Together, these three elements define a unique identifier for a Maven project. The following is a brief description of these elements:
groupId (organization ID): Indicates the organization or project group to which the project belongs, usually named in reverse order of the domain name. For example, com.example.
artifactId (project ID): Represents the unique identifier of the project within the organization. For example, my-project.
version (version number): Indicates the version number of the project. Maven uses a semantic version number specification, for example, 1.0.0.
Taken together, an example of Maven coordinates might be: com.example:my-project:1.0.0.
The above is the detailed content of What are maven coordinates. For more information, please follow other related articles on the PHP Chinese website!