What is Group Id && Artifact Id in a maven project

Artifact is a file, usually a jar. So Artifact Id is the name of the jar.
Each artifact id has a group ID (usually a reversed domain name like com.example.foo)

for example, in the below dependencies, you can observer that, all artifacts are belong to same groupId.


Here groupId is org.slf4j & artifacts have different ids.



Comments