title: Specify main class Spring-Boot command line
body: <p>I use maven plugin to set the main class like this :</p>
  
  <pre><code>&lt;plugin&gt;
  &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
  &lt;artifactId&gt;spring-boot-maven-plugin&lt;/artifactId&gt;
  &lt;configuration&gt;
      &lt;mainClass&gt;com.myapp.main.MainClass&lt;/mainClass&gt;
  &lt;/configuration&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>But sometimes I want run my app with another main class. What is the command line arguments to do this?</p>
  
  <pre><code>java -jar myapp-1.0.jar ...
  </code></pre>
  
  <p>Thx</p>