Replies: 4 comments 1 reply
-
It's been a while since this docs were added in I guess the meaning was that the sbt-assembly plugin (https://github.com/sbt/sbt-assembly) was not / is not maintained by the Playframework maintainers. So if you use it and run into problems you are on your own or have to contact the author of the plugin. However, meanwhile, I am pretty sure the plugin should be safe to use, it's quite popular. @ndeverge So you forked the heroku-sbt-plugin, any reason you can not migrate to the Heroku JVM Application Deployer? |
Beta Was this translation helpful? Give feedback.
-
I tried to create a fat jar to use with the heroku-jvm-application-deployer, but it did not work (I did not have the time to investigate further at the moment), and it was easier for me to fork the sbt-heroku plugin. |
Beta Was this translation helpful? Give feedback.
-
Same here. The sbt-native-packager (stage or dist) works out of the box, as does the sbt-heroku plugin when used with |
Beta Was this translation helpful? Give feedback.
-
Sorry I don't have time to help out here, since this is not a direct Play problem. You probably want to take a look what the
Or just keep using the forked plugin from @ndeverge for now. If you figure out how to configure sbt-assembly for Heroku it would be good if we could update our docs. Pull requests welcome. |
Beta Was this translation helpful? Give feedback.
-
The sbt-heroku plugin as described here https://www.playframework.com/documentation/3.0.x/ProductionHeroku#Deploying-with-the-sbt-heroku-plugin is no longer maintained: https://github.com/heroku/heroku-sbt-plugin
To deploy directly to Heroku without pushing to a Git repository, you need to use the heroku-jvm-application-deployer https://github.com/heroku/heroku-jvm-application-deployer which requires a fat Jar.
The Play documentation describes creating a fat jar using the sbt-assembly plugin as not officially supported: https://www.playframework.com/documentation/3.0.x/Deploying#Using-the-sbt-assembly-plugin
What is the reason that it's not officially supported?
Beta Was this translation helpful? Give feedback.
All reactions