This sbt plugin provides you with everything you need to package your application. No matter if you want to build a simple standalone application or a server application. The JVM lets you run anywhere. SBT Native Packager lets you deploy everywhere!
Add the plugin to your plugins.sbt. If you use sbt 0.13.5 or higher the you have just one line to add to your build.sbt:
We provide a set of plugins. One for each supported format and for each archetype.
Just select the one you want to use and all other plugins you require are loaded
For common use cases we create so called Archetypes. For a standalone application enabling is as simple simple as
The most common archtypes
Each archetype adds possible new settings which you can adapt to your need.
SBT Native Packager comes with a rich set of packaging formats including zip, tar.gz, debian, rpm, msi and docker. It's as easy as:
An archetype doesn't cover what you need? No problem. SBT Native Packager i build on top of some simple principles and you can customize it in many ways. Adding a custom packaging format or some special files.