Group id vs Artifact id for a project – User friendly Tech help
nWhen creating a new project in java IDE, what is the significane of group id and artifact id?
nLets understand what are these values and why we use them.
nGroup ID :- Its an value which gives unique name to the project (like primary key in SQL tables).
nArtifact ID:- Name of the project (jar file will have the same name, when project is build).
nGroup ID :- Like package in java, it follows the reverse domain naming approach.
nConfused ???, lets have a example.
nLets say we have domain as www.ufthelp.com than group id will be com.ufthelp(reverse of domain)
nanother example, www.google.ca, will be ca.google.
Artifact id:- Its the name of the project (lowercase and longer name seperated by dash).
nVersion, is the build version of the project, i.e jarname.version example chrome-53.1 (where chrome is the name of thee project, 53.1 is version)