title: Chaning default class name in Maven archetype:generate
body: <p>Is there a way to set up default class name in Maven?</p>
  
  <p>I'm creating the new project with this command:<br/></p>
  
  <pre><code>mvn -B archetype:generate \
    -DarchetypeGroupId=org.apache.maven.archetypes \
    -DgroupId=path.to.project \
    -DartifactId=ProjectName
  </code></pre>
  
  <p>I get this structure of files:</p>
  
  <pre><code>ProjectName
      |---src
      |     |--main
      |     |    |----java
      |     |           |----path
      |     |                 |-----to
      |     |                        |----project
      |     |                               |-------App.java
      |     | 
      |     |--test
      |         |----java
      |                |----path
      |                      |-----to
      |                             |----project
      |                                    |-------AppTest.java
      |---pom.xml
  </code></pre>
  
  <p>I want to create app with different default name. Let's say, to replace <code>App.java</code> with <code>NewAppName.java</code> and <code>AppTest.java</code> with <code>NewAppNameTest.java</code>.</p>
  
  <p>Is there a way to modify my command to get desired outcome?</p>