title: Allways append the artifact id to the group id?
body: <p>I have work with maven for some time but I am not sure if it is always recommended to write the artifact id at the end of the group id although it is repetitive as maven coordinates would include the concatenation of the group id, the artifact id, and the version.</p>
  
  <p>For example, givin a java project with package <code>com.example.helloword</code> I always do:</p>
  
  <pre><code>&lt;groupId&gt;com.example.helloword&lt;/groupId&gt;
  &lt;artifactId&gt;hello-word&lt;/artifactID&gt;
  &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
  </code></pre>
  
  <p>It is there a case in which it is preferred not to put the artifact id in the group id, what come to my mind is if the project is a shared module. For instance, a utility module used with <code>helloword</code>:</p>
  
  <pre><code>&lt;groupId&gt;com.example.helloword&lt;/groupId&gt;
  &lt;artifactId&gt;utilities&lt;/artifactID&gt;
  &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
  </code></pre>
  
  <p>Is it correct? or should I append also the artifact id to the group id?</p>