sbt-native-packager alternatives and similar packages
Based on the "Sbt plugins" category.
Alternatively, view sbt-native-packager alternatives based on common mentions on social networks and blogs.
-
sbt-assembly
Deploy über-JARs. Restart processes. (port of codahale/assembly-sbt) -
sbt-dependency-graph
sbt plugin to create a dependency graph for your project -
sbteclipse
Plugin for sbt to create Eclipse project definitions -
sbt-jmh
"Trust no one, bench everything." - sbt plugin for JMH (Java Microbenchmark Harness) -
sbt-revolver
An SBT plugin for dangerously fast development turnaround in Scala -
sbt-updates
sbt plugin that can check Maven and Ivy repositories for dependency updates -
better-monadic-for
Desugaring scala `for` without implicit `withFilter`s -
sbt-buildinfo
I know this because build.sbt knows this. -
sbt-pack
A sbt plugin for creating distributable Scala packages. -
sbt-microsites
An sbt plugin to create awesome microsites for your project -
sbt-mima-plugin
A tool for catching binary incompatibility in Scala -
sbt-ensime
Generates .ensime config files for SBT projects http://ensime.org/build_tools/sbt -
sbt-sonatype
A sbt plugin for publishing Scala/Java projects to the Maven central. -
sbt-ci-release
sbt plugin to automate Sonatype releases from GitHub Actions -
sbt-dependency-check
SBT Plugin for OWASP DependencyCheck. Monitor your dependencies and report if there are any publicly known vulnerabilities (e.g. CVEs). :rainbow: -
sbt-header
sbt-header is an sbt plugin for creating file headers, e.g. copyright headers -
sbt-play-scalajs
SBT plugin to use Scala.js along with any sbt-web server. -
sbt-api-mappings
An Sbt plugin that fills apiMappings for common Scala libraries. -
sbt-unidoc
sbt plugin to create a unified Scaladoc or Javadoc API document across multiple subprojects. -
sbt-sublime
An sbt plugin for generating Sublime Text projects with library dependencies sources -
sbt pom reader plugin
Translates xml -> awesome. Maven-ish support for sbt. -
sbt-ghpages
git, site and ghpages support for sbt projects. -
sbt-ide-settings
SBT plugin for tweaking various IDE settings -
sbt-scala-js-map
A Sbt plugin that configures source mapping for Scala.js projects hosted on Github -
sbt-versions
Plugin that checks for updated versions of your project's dependencies. -
sbt-hepek
Sbt plugin for rendering Scala objects to files. And more! -
sbt-pantarhei
sbt plugin building and publishing release notes from github pull requests -
sbt-classfinder
SBT plugin for retrieving runtime information about the classes and traits in a project
Access the most powerful time series database as a service
Do you think we are missing an alternative of sbt-native-packager or a related project?
README
SBT Native Packager
[Native Packager Logo](src/sphinx/static/np_logo_full_horizontal_transparent.png)
Goal
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.
Issues/Discussions
- Discussion/Questions:
If you wish to ask questions about the native packager we're active on Stack Overflow. You can either use the
sbt
tag or thesbt-native-packager
tag. They also have far better search support for working around issues. - Docs:
Our docs are available online. If you'd like to help improve the docs, they're part of this
repository in the
src/sphinx
directory. ScalaDocs are also available.
The old documentation can be found here
- Issues/Feature Requests: Finally, any bugs or features you find you need, please report to our issue tracker. Please check the compatibility matrix to see if your system is able to produce the packages you want.
Features
- Build native packages for different systems
- Universal
zip
,tar.gz
,xz
archives deb
andrpm
packages for Debian/RHEL based systemsdmg
for macOSmsi
for Windowsdocker
imagesgraalvm
native images
- Universal
- Provide archetypes for common use cases
- Java application with start scripts for Linux, macOS and Windows
- Java server application adds support for service managers:s
- Systemd
- Systemv
- Upstart
- Java8 jdkpackager wrapper
- Java11 jlink wrapper
- Optional JDeb integration for cross-platform Debian builds
- Optional Spotify docker client integration
Installation
Add the following to your project/plugins.sbt
file:
// for autoplugins
addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.9.4")
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)
Build
If you have enabled one of the archetypes (app or server), you can build your application with
sbt <config-scope>:packageBin
Examples
# universal zip
sbt universal:packageBin
# debian package
sbt debian:packageBin
# rpm package
sbt rpm:packageBin
# docker image
sbt docker:publishLocal
# graalvm image
sbt graalvm-native-image:packageBin
Read more in the specific format documentation on how to configure and build your package.
Documentation
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.
Contributing
Please read the [contributing.md](CONTRIBUTING.md) on how to build and test native-packager.
Related SBT Plugins
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-aether
- sbt-assembly
- sbt-docker
- This is in addition to the built-in Docker Plugin from sbt-native. Both generate docker images.
sbt-docker
provides more customization abilities, while theDockerPlugin
in this project integrates more directly with predefined archetypes.
- This is in addition to the built-in Docker Plugin from sbt-native. Both generate docker images.
- sbt-heroku
- sbt-kubeyml
- sbt-newrelic
- sbt-packager
- sbt-package-courier
Maintainers
- Nepomuk Seiler (@muuki88)
- Alexey Kardapoltsev (@kardapoltsev)
- Derek Wickern (@dwickern)
- Felix Satyaputra (@fsat)
Credits
- Josh Suereth for the initial developement
- Sascha Rinaldi for the native-packager logo