title: Maven EAR plugin, rename the app
body: <p>I have a maven ear module. </p>
  
  <p>For example, its artifact ID is <code>MyApp</code>. Maven creates ear archive whith name <code>MyApp-1.0-SNAPSHOT.ear</code>, Glassfish admin panel show deployed app with name <code>MyApp</code></p>
  
  <p>I want to change default name. I tried this:</p>
  
  <pre><code>&lt;plugin&gt;
      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
      &lt;artifactId&gt;maven-ear-plugin&lt;/artifactId&gt;
      &lt;version&gt;2.8&lt;/version&gt;
      &lt;configuration&gt;
          &lt;displayName&gt;mySuperName&lt;/displayName&gt;
      &lt;/configuration&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>But it changes only one string inside the application.xml: </p>
  
  <p><code>&lt;display-name&gt;mySuperName&lt;/display-name&gt;</code></p>
  
  <p>Does I have any other options to rename the app?</p>