| Number of watchers on Github | 995 |
| Number of open issues | 93 |
| Average time to close an issue | 9 days |
| Main language | Scala |
| Average time to merge a PR | 5 days |
| Open pull requests | 35+ |
| Closed pull requests | 22+ |
| Last commit | almost 2 years ago |
| Repo Created | almost 8 years ago |
| Repo Last Updated | almost 2 years ago |
| Size | 8.48 MB |
| Homepage | https://sbt-nativ... |
| Organization / Author | sbt |
| Latest Release | v1.3.3 |
| Contributors | 99 |
| Page Updated | 2018-03-13 |
| Do you use sbt-native-packager? Leave a review! | |
| View open issues (93) | |
| View sbt-native-packager activity | |
| View on github | |
| Fresh, new opensource launches πππ | |
|
Trendy new open source projects in your inbox!
View examples
|
|

SBT native packager lets you build application packages in native formats. It offers different archetypes for common configurations, such as simple Java apps or server applications.
sbt tag or the
sbt-native-packager tag. They also have far better search support for working around issues.src/sphinx directory. ScalaDocs are also available.The old documentation can be found here
zip,tar.gz, xz archivesdeb and rpm packages for Debian/RHEL based systemsdmg for OSXmsi for Windowsdocker imagesAdd the following to your project/plugins.sbt file:
// for autoplugins
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.3.3")
In your build.sbt enable the plugin you want. For example the
JavaAppPackaging.
enablePlugins(JavaAppPackaging)
Or if you need a server with autostart support
enablePlugins(JavaServerAppPackaging)
If you have enabled one of the archetypes (app or server), you can build your application with
sbt <config-scope>:packageBin
# universal zip
sbt universal:packageBin
# debian package
sbt debian:packageBin
# rpm package
sbt rpm:packageBin
# docker image
sbt docker:publishLocal
Read more in the specific format documentation on how to configure and build your package.
There's a complete getting started
guide and more detailed topics available at the sbt-native-packager site.
Please feel free to contribute documentation, or raise issues where you feel it may be lacking.
Please read the contributing.md on how to build and test native-packager.
These are a list of plugins that either use sbt-native-packager, provide additional features or provide a richer API for a single packaging format.
sbt-docker provides more customization abilities, while the DockerPlugin in this project integrates more directly with predefined archetypes.Fixed bugs:
Closed issues:
Merged pull requests:
This release contains some smaller fixes and changes to the project.
Project changes
Fixed bugs:
rpm:packageBin fails with `version in Rpm` is empty.#1004
Closed issues:
Merged pull requests: