title: Maven Generating Archetype getting package variable as directory format
body: <p>I'm looking to make an archetype and I'm having difficulty making the created pom.xml have the values I need it to.</p>
  
  <p>I have: </p>
  
  <pre><code>&lt;properties&gt;
      &lt;domain-objects-location&gt; ${groupId}/domain &lt;/domain-objects-location&gt;
      ...
  &lt;/properties&gt;
  </code></pre>
  
  <p>in my pom.xml template, and I get "com.mycompany.app" where groupID is.</p>
  
  <p>However I want "com/mycompany/app" to be there. </p>
  
  <p>Any suggestions on how to get that? Thanks.</p>
  
  <p><b>UPDATE:</b></p>
  
  <p>As I linked below, there is a special property for doing just this.</p>
  
  <pre><code>&lt;domain-objects-location&gt;${packageInPathFormat}/domain&lt;/domain-objects-location&gt;
  </code></pre>
  
  <p>is what gives me the desired output I was looking for. I'm not sure why this doesn't show up on <a href="https://maven.apache.org/ref/3.0.3/maven-model/maven.html" rel="nofollow">https://maven.apache.org/ref/3.0.3/maven-model/maven.html</a> or somewhere else obvious in the documentation. But it does work.</p>