There are multiple ways to deploy an application to heroku. Currently deploying the WAR file works (best)
- Create Heroku account / Login to Heroku and create a new app
- Install Heroku CLI on local machine
$ brew tap heroku/brew && brew install heroku
or
$ npm install -g heroku
- login with Heroku CLI
$ heroku login
- install Heroku Java plugin
$ heroku plugins:install java
- build Java goof from root directory
$ mvn install
- upload WAR file
$ heroku war:deploy todolist-web-struts/target/todolist.war --app <your_app_name>
The war file should be uploading and the app will start up. This may take some time.