title: Creating Maven archetype using required properties
body: <p><br/>
  I have created my own archetype which defines in archetype-metadata.xml a required property:</p>
  
  <p></p>
  
  <pre><code>&lt;requiredProperty key="version.wildfly"&gt;
      &lt;defaultValue&gt;16.0.0.Final&lt;/defaultValue&gt;
  &lt;/requiredProperty&gt;
  </code></pre>
  
  <p></p>
  
  <p>This property needs to be used in src/main/resources/archetype-resources/pom.xml as a property:</p>
  
  <pre><code>&lt;properties&gt;
      &lt;version.server.bom&gt;${version.wildfly}&lt;/version.server.bom&gt;
  &lt;/properties&gt;
  </code></pre>
  
  <p>Indeed, when I create a project using this archetype, I'm being asked to confirm the default value for the property:</p>
  
  <pre><code>version.wildfly: 16.0.0.Final
   Y: : Y  
  </code></pre>
  
  <p>However, in the generated project's pom.xml, it is not specified anywhere to use this property. The pom.xml merely contains:</p>
  
  <pre><code>&lt;properties&gt;
      &lt;version.server.bom&gt;${version.wildfly}&lt;/version.server.bom&gt;
  &lt;/properties&gt;
  </code></pre>
  
  <p>And thus the build fails. Did I use any wrong pattern to inject the property in the pom.xml ?
  Thanks</p>