sbt-native-packager - package all the things
summary
sbt-native-packager produces deployable units (zip, deb, rpm, Docker) by composing an archetype that populates mappings with files and format-specific plugins that expose scoped settings. the demo links a Scala Native-produced binary into bin via a stage task, fixes a missing maintainer field, builds a .deb, installs it, creates a /usr/bin symlink and drops a systemd service unit — everything runs and can be controlled with systemctl. the plugin favors sensible defaults, extensibility via scoped settings, and debugging by inspecting the generated staging directory.
AI-written summary · about
chapters (12)
- 0:00Intro
- 0:48Overview
- 2:00Design principles
- 4:45Java app packaging
- 8:17Archetypes
- 9:25Scopes
- 15:50Hierarchy
- 17:00Mappings
- 21:40Creating a native package
- 33:19SystemD
- 35:29Summary
- 40:39Questions
related talks
28mPackaging & Deployment Options for Scala Applications / Services
21mAutomate your work
50mJava Packaging Tool: Create Native Packages to Deploy Java Applications
40mSlamming-Your-Head-Into-Keyboard-HOWTO: Packaging Applications
31mJava Packaging Tool: Create Native Packages to Deploy Java Applications
45mBuildpacks – What’s That, and How Does It Work?
51mJava applications containerized and deployed, make your buildpack edition
38mQuarkus Native: From scratch to production
