How to use Heroku over Maven for Deployment your Application
What you need ?
- You need API KEY : from HEROKU
- You need to Download https://github.com/heroku/heroku-maven-plugin
- You need HEROKU CLI : “The Heroku CLI”
Add heroku to your maven file :
[crayon-6684aa16a06b4133105223/]
[crayon-6684aa16a06ba458793329/]
# If you are not using git, To define the app name you should use this configuration
[crayon-6684aa16a06bd396676859/]
* This is enought for WAR package.
# BUT -> If the Application is stand alone, you should set how the application should be run:
[crayon-6684aa16a06bf106287302/]
Deploy the WAR
[crayon-6684aa16a06c1799858394/]
Check it is deployed and running
[crayon-6684aa16a06c3665553651/]
Extra Configuration
[crayon-6684aa16a06c5088754492/]
–
– ffa ds
–
ref: https://github.com/heroku/heroku-maven-plugin