title: Maven archetype generate with custom properties
body: <p>Newbie question here, I have a maven archetype that I'm creating from a java project using a .properties file. I want to be able to generate dynamic values for variables within the archetype and I'm not sure how to do that. Currently I'm following <a href="http://maven.apache.org/archetype/maven-archetype-plugin/examples/create-with-property-file.html" rel="nofollow">this maven guide</a> and but I can't seem to reproduce what they've done. Specifically at the bottom of the guide where they replace the String value with a new value.</p>
  
  <p>Here's the properties file I'm using:</p>
  
  <pre><code>archetype.groupId=com.mycompany
  archetype.artifactId=sample-project
  archetype.version=1.0
  
  archetype.languages=java
  
  myParam=something
  </code></pre>
  
  <p>I checked my archetype-metadata.xml file and the properties I'm trying to load are in there:</p>
  
  <pre><code>&lt;requiredProperty key="myParam"&gt;
    &lt;defaultValue&gt;new value here&lt;/defaultValue&gt;
  &lt;/requiredProperty&gt;
  </code></pre>
  
  <p>However, none of my classes have the new value loaded. Is there a step that I'm missing that replaces the default value of the parameter and replaces it with the new value specified in the prop file?</p>
  
  <p>Thanks in advance!</p>