docs icon indicating copy to clipboard operation
docs copied to clipboard

deploy:jar is not available in heroku cli by default.

Open berndhopp opened this issue 1 year ago • 0 comments

on this page the command

heroku deploy:jar ...

gave me an error response saying that deploy:jar is not supported. I needed to run

heroku plugins:install java

first in order to be able to call deploy:jar.

It should also be noted that vaadin apps can be deployed to heroku with CI/CD-Pipelines, as long as the -Pproduction maven flag is set via the CLI, as below. This should be the first option for heroku deployment IMHO.

heroku config:set MAVEN_CUSTOM_OPTS="-Pproduction"

berndhopp avatar Sep 26 '24 05:09 berndhopp