title: Deploy Java app to Heroku using Git
body: <p>My project written using the Spark framework has this build config.</p>
  
  <pre><code>    &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                  &lt;version&gt;3.0&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;source&gt;1.7&lt;/source&gt;
                      &lt;target&gt;1.7&lt;/target&gt;
                      &lt;verbose&gt;true&lt;/verbose&gt;
                      &lt;fork&gt;true&lt;/fork&gt;
                      &lt;compilerVersion&gt;1.7&lt;/compilerVersion&gt;
                      &lt;encoding&gt;UTF-8&lt;/encoding&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.13&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;useSystemClassLoader&gt;false&lt;/useSystemClassLoader&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.avaje&lt;/groupId&gt;
                  &lt;artifactId&gt;ebean-maven-enhancement-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.8.1&lt;/version&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;id&gt;main&lt;/id&gt;
                          &lt;phase&gt;process-classes&lt;/phase&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;enhance&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
                  &lt;configuration&gt;
                      &lt;classSource&gt;target/classes&lt;/classSource&gt;
                      &lt;packages&gt;somepath.domain.**&lt;/packages&gt;
                      &lt;transformArgs&gt;debug=1&lt;/transformArgs&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  </code></pre>
  
  <p>Its main class resides in <code>somepath.Bootstrap</code>.</p>
  
  <p>The <code>Procfile</code> sits next to the <code>pom</code>.</p>
  
  <p><a href="https://i.stack.imgur.com/K1Fk6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/K1Fk6.png" alt="Procfile"></a></p>
  
  <p>What should the contents of the <code>Procfile</code> be?</p>
  
  <p>(I am deploying via git.)</p>