title: Passing extra properties to maven archetype:generate
body: <p>I've created a Maven archetype for a custom project setup, which is working wonderfully, but I was wondering if it's possible to pass extra parameters so that I can do some more interesting templating. I tried something like</p>
  
  <pre><code>mvn archetype:generate -DarchetypeCatalog=local -DdbHost=localhost
  </code></pre>
  
  <p>and put</p>
  
  <pre><code>...
  &lt;option name="db.host.config.option" value="${dbHost}" /&gt;
  ...
  </code></pre>
  
  <p>in my template, but that doesn't seem to work. Is there a way to do this with an archetype?</p>