title: Maven archetype filename pattern with underscore
body: <p>I'm creating a Maven archetype.  I want to generate files like <code>project_todo_messages.properties</code> with <code>todo</code> replaced by a filtered property.</p>
  
  <p>I created a file <code>project___todo___messages.properties</code> and a filtered property <code>todo</code> in <code>archetype-metadata.xml</code> and <code>archetype.properties</code>.
  Files without underscore are renamed, but files with underscore around the filtered property are not. Any ideas?</p>
  
  <p>I use maven-archetype-plugin 2.3 and org.apache.maven.archetype:archetype-packaging 2.3.</p>
  
  <p>Other question : is it possible to lowercase a filtered value in a filename like it is possible in a file content with <code>${todo.toLowerCase()}</code>?</p>