That’s it, commit your pom.xml and your Procfile and your app will deploy in the
blink of an eye.

Cleanup your application image

When you prepare a war archive from your application. Every dependency is packaged
into it and the war file should be almost autonomous. You don’t need too keep all your
build dependencies in your application image.