github sbt/sbt-native-packager v1.0.0
AutoPlugins

latest releases: v1.10.0, v1.10.3, v1.10.2...
9 years ago

Features

This release comes with a bunch of new features.

  • configuration with sbt AutoPlugins
  • improved docker API
  • javapackager integration
  • more robust and stable bat scripts
  • more predefined configuration plugins, e.g. ClasspathJarPlugin and LauncherJarPlugin
  • improved docs

Breaking changes

  • Java 7 or higher required
  • JavaAppPackaging configuration works with application.ini
  • JavaServerAppPackaging configuration via etc-default works the way it should: by sourcing the etc-default. See 1.0.0-RC1 Release Notes

Special thanks

This release wouldn't have been possible without the astonishing help of all our contributors.
We would especially like to thank

  • @nazoking / @bjuric / @tartakynov for all the windows support
  • @dwhjames for all the last-minute rpm fixes
  • @metasim for his javapackager integration
  • and everybody else for fixing the small things in order to provide a better UX

you are amazing!

Commits and the issues they fixed since v1.0.0-RC2

Issue(s) Commit Message
7e8d703 Fix warnings from rpm lint - fix warning from start script about [lockfile name]
1dd153c Fixing docs with newest changes
#529 155d126 fix for issue #529 - use numeric rather than string test in conditional
0f579d6 fix: templating for /etc/sysconfig/ path $prog is undefined at this point
45bc5db fix SystemV init script template for rpm packaging Main fix is to make use of th
08d5bd5 fix use of app_name and exec vars in systemv start-rpm-template It looks like a

Pull requests since v1.0.0-RC2

Pull Request(s) Commit Message
#454 890a383 Trying travis-ci container architecture for faster builds.Trying travis-ci cont
#537 9c19636 fix use of app_name and exec vars in systemv start-rpm-templatefix use of app_n
#538 1e96478 expand the doc for the start script template varsexpand the doc for the start s
#539 c85254c make use of stopService loader function in rpm preun templatemake use of stopSe
#540 3fb8d03 User_systemd test added for daemon user in systemd #436test added for daemon use
#541 a243197 fix SystemV init script template for rpm packagingfix SystemV init script templ
#542 b58609f A Vagrant+Ansible automated test project A Vagrant+Ansible automated test proje
#543 a1b438c Optimize Travis scriptOptimize Travis script
#544 f0c2540 fix for issue #529fix for issue #529
#546 80ef17d Fixing docs with newest changesFixing docs with newest changes
#547 9a9621e Fix warnings from rpm lintFix warnings from rpm lint
#550 6623a14 Release preparationsRelease preparations

A big thank you to all the contributors!

# Author
12 Daniel James
7 Nepomuk Seiler
1 Alexey Kardapoltsev

Full Changes since 0.8.0

Commits and the issues they fixed since v0.8.0

Issue(s) Commit Message
#276 #453 #472 #489 c52f906 Merge branch 'master' into feature/javapackager-format * master:
f5ab978 Merge branch 'master' into fix/windows-bat-script
8b0f4ae Merge branch 'master' into fix/bashscript-location Conflicts:
7e8d703 Fix warnings from rpm lint - fix warning from start script about [lockfile name]
1dd153c Fixing docs with newest changes
#529 155d126 fix for issue #529 - use numeric rather than string test in conditional
0f579d6 fix: templating for /etc/sysconfig/ path $prog is undefined at this point
45bc5db fix SystemV init script template for rpm packaging Main fix is to make use of th
08d5bd5 fix use of app_name and exec vars in systemv start-rpm-template It looks like a
05696a4 Fix and improve docs for rpmAutoreq and rpmAutoprov - fix and improve sbt settin
#82 62362c2 FIX #82 adding the ability to specify jvm options via sbt
75eb2ac Fix bug in PR-524.
0b377bc Fix incorrect information in RPM Plugin docs.
13bd807 Fix typos in the documentation
6908b16 Fix typo scirpt to be script
0bd8d8a fix test for jdk1.7.0_25, jdk1.8.0_20
#502 e2d5bd7 FIX #502 Removing JAVA_OPTS
#482 88bd5ad FIX #482 simple error, nasty solution. Works for the moment, but needs more atte
6f8e958 Adding windows tags and fixing tests
#466 30d08b7 FIX #466 adding the easy configuration, see if it works
f7f32b8 Fixed corrupted Windows Icon and commented maintainer setting in the packager ex
#495 0883937 Fix #495. Enhanced locateJDKPackagerTool to work on Windows when SBT is runnin
#276 2c39fc4 FIX #276 creating directories as necessary and specify top level dir and sadly r
#472 138510c Revert "[fix #472] /etc/default/<package-name> should be shell script setting en
#489 aacce7f FIX #489: Small fix in documentation
4deb3e3 Fixing -jvm-debug flags so that they use args compatible with the latest JDKs, i
#472 520ffaf [fix #472] /etc/default/<package-name> should be shell script setting envars
a77c22e Fix broken link to Docker help.
#469 0510814 FIX #469 missing colons
#460 35a0bda FIX #460
cd0acc5f Fixing update-latest to work with docker 1.3 and greater
fa95ee6 windows bat exit code fix Return exit code 1 in windows bat script if java appli
#443 758bc6d FIX #443 Refactor documentation. Work in progress
#435 141c075 FIX #435 Adding loader and control functions
16b8c52 fixed the wrong check (due to delayed expansion) in bat-template
9283051 FIX install command in upstart to use daemon_group
#432 5b9c385 Update README.md FIX #432
2082723 Fix typo in debian:packageBin.
897f2b6 fix import
28c665d fix test
5067a40 fix windows batch argument probrem. the shift command of cmd.exe is not shift
#394 bfde849 FIX #394 adding tests for native packaging with 0440 permissions
#405 9974c1f FIX #405: Script replacements doesn't work with jdeb packaging
ab49d7e fix too long classpaths in script(bat/bash). Create manifest.jar it contains Cla
20c8f79 Fix typo contstruct -> construct. Fix typo contstruct -> construct.
#391 d4034dc FIX #391 Fixing all lintian errors and some warnings
#388 c312307 FIX #388 remove dependencies to chmod.
9c23767 Fix example code in GettingStartedServers/MyFirstProject
3029508 Fix permissions and group for /var/run/${{app_name}} folder in SystemV init scri

Pull requests since v0.8.0

Pull Request(s) Commit Message
#374 3de9f83 Wip/autopluginsWip/autoplugins
#379 1f4222e Describe server loading options in server docsDescribe server loading options i
#382 a212200 Fix permissions and group for /var/run/${{app_name}} folder in SystemV init scr
#383 dbf1500 Fix example code in GettingStartedServers/MyFirstProject docs.Fix example code
#387 8a3f2b2 Update README.mdUpdate README.md
#389 62fde8f Remove AutoPlugin triggers from plugins.Remove AutoPlugin triggers from plugins
#390 5bc1f6e Setting maintainer for Docker images can be optional.Setting maintainer for Doc
#392 af32138 Relocated the scope for common docker settingsRelocated the scope for common do
#393 54d16c6 fix windows batch argument probrem.fix windows batch argument probrem.
#397 268d010 fix too long classpaths in script(bat/bash).fix too long classpaths in script(b
#399 2ce164c FIX #388 remove dependencies to chmod.FIX #388 remove dependencies to chmod.
#400 dc24421 FIX #391 Fixing all lintian errors and some warningsFIX #391 Fixing all lintian
#401 7139ba1 Not hardcoding bashscript config location #398Not hardcoding bashscript config
#403 017b2c6 Play backward compatibility issuePlay backward compatibility issue
#404 e96b23b Fix typo contstruct -> construct.Fix typo contstruct -> construct.
#406 51ae6b1 FIX #405: Script replacements doesn't work with jdeb packagingFIX #405: Script
#408 83b0706 FIX #394 adding tests for native packaging with 0440 permissionsFIX #394 adding
#411 996ac61 Better Entrypoint SupportBetter Entrypoint Support
#424 300ed33 Docker mappings - incomplete?Docker mappings - incomplete?
#427 0fea5fc Add documentation about Play 2 packaging as deb- and rpm-packagesAdd documentat
#429 49fd0a3 Fix typo in debian:packageBin.Fix typo in debian:packageBin.
#430 3c2e49c Add the required import.Add the required import.
#431 59c2b9f Made -agentlib options before the classpath in the bash script.Made -agentlib o
#434 9660112 FIX install command in upstart to use daemon_groupFIX install command in upstar
#439 47692e1 FIX #435 Adding loader and control functionsFIX #435 Adding loader and control
#440 12cfcb4 Fix/windows bat scriptFix/windows bat script
#441 b8b8248 Run the systemd service as the created & specified daemon userRun the systemd s
#442 353a11a #415 custom mainclass for Windows#415 custom mainclass for Windows
#444 2bed3c1 FIX #443 Refactor documentation. Work in progressFIX #443 Refactor documentatio
#446 34802cf Replace bash image with java’s in akka-bash-templateReplace bash image with jav
#448 f3672bc Stipulation of docker version in documentationStipulation of docker version in
#449 ae7c5d5 add support for uid and gidadd support for uid and gid
#450 9f330b8 fixes a typo leading to bad replacementfixes a typo leading to bad replacement
#452 5fdf04c Fixing update-latest to work with docker 1.3 and greaterFixing update-latest to
#454 890a383 Trying travis-ci container architecture for faster builds.Trying travis-ci cont
#457 7f86b4f Using --startas instead of --exec now in order to make start script idempot
#458 e0968b5 Back to specific directory for ADD commandBack to specific directory for ADD co
#462 45bd546 WaitProcessOnStop wait for process to stop or timeout in systemv init scriptwait
#463 ef8f75a Docker maintainer is no longer requiredDocker maintainer is no longer required
#464 e2081da Added missing statement in archetypes docAdded missing statement in archetypes
#470 1582800 FIX #469 missing colonsFIX #469 missing colons
#473 0e957d1 EtcDefaultAsShell [fix #472] /etc/default/<package-name> should be shell script
#474 53c0c46 DockerLink Fix broken link to Docker help.Fix broken link to Docker help.
#478 582a7f4 [Fix #476] Fixing -jvm-debug flags so that they use args compatible with the la
#486 bcc2552 Wip/docker refactoringWip/docker refactoring
#487 974d91b Upgrading to java 7 and using posix nio APIUpgrading to java 7 and using posix
#490 3bd5e93 FIX #489: Small fix in documentationFIX #489: Small fix in documentation
#491 5b41248 EtcDefaultAsShell Revert "[fix #472] /etc/default/<package-name> should be shell
#492 b26c8e7 Experimental support for formats generated by the JDK 8 javapackager tool.Exp
#493 7da3f21 Wip/appveyor windows testsWip/appveyor windows tests
#494 4a94ec7 Added translation of jvmopts contents and enhanced example app.Added translat
#496 6d9f82f Fix #495. Enhanced locateJDKPackagerTool to work on Windows when SBT...Fix #4
#503 aa85388 FIX #502 Removing JAVA_OPTSFIX #502 Removing JAVA_OPTS
#505 ad8f87c Scriptconf-482 FIX #482 simple error, nasty solution. Works for the moment, but
#507 4467d31 fix appveyor test fix appveyor test
#510 48b0c19 FIX #82 adding the ability to specify jvm options via sbtFIX #82 adding the abi
#512 bd05e79 Basic image generation detection test for JDKPackagerPlugin.Basic image generat
#514 d42e2e2 Added launcher jar pluginAdded launcher jar plugin
#517 86d4611 Fix typo 'scirpt' to be 'script'Fix typo 'scirpt' to be 'script'
#519 7be0d83 Fix typos in the documentationFix typos in the documentation
#523 b478aa5 Fix incorrect information in RPM Plugin docs.Fix incorrect information in RPM P
#524 0d72913 Codacy recommended cleanup.Codacy recommended cleanup.
#525 e6891b9 Revert "Codacy recommended cleanup."Revert "Codacy recommended cleanup."
#526 3a2a576 Added support for environment configuration file.Added support for environment
#528 e9cfbe4 Codacy fixesCodacy fixes
#532 a22bf58 Fix #531: Simplify stop() function on Debian based systems.Fix #531: Simplify s
#533 f60e1a4 !Update default dockerBaseImage to official repo!Update default dockerBaseImage
#534 8b043cd Fix and improve docs for rpmAutoreq and rpmAutoprovFix and improve docs for rpm
#535 496cbb3 Improvements to RPM documentationImprovements to RPM documentation
#537 9c19636 fix use of app_name and exec vars in systemv start-rpm-templatefix use of app_n
#538 1e96478 expand the doc for the start script template varsexpand the doc for the start s
#539 c85254c make use of stopService loader function in rpm preun templatemake use of stopSe
#540 3fb8d03 User_systemd test added for daemon user in systemd #436test added for daemon use
#541 a243197 fix SystemV init script template for rpm packagingfix SystemV init script templ
#542 b58609f A Vagrant+Ansible automated test project A Vagrant+Ansible automated test proje
#543 a1b438c Optimize Travis scriptOptimize Travis script
#544 f0c2540 fix for issue #529fix for issue #529
#546 80ef17d Fixing docs with newest changesFixing docs with newest changes
#547 9a9621e Fix warnings from rpm lintFix warnings from rpm lint
#550 6623a14 Release preparationsRelease preparations

A big thank you to all the contributors!

# Author
57 Nepomuk Seiler
14 Daniel James
12 Simeon H.K. Fitch
10 nazoking
5 Myyk Seok
5 Christopher Hunt
4 Gary Coady
4 Artem Pyanykh
4 dhardy92
4 Michael Hamrah
3 Alexey Kardapoltsev
3 Artem Tartakynov
2 Артем Тартакынов
2 Branko Juric
2 Robert Boll
2 Ashley Penney
1 Michal Rus
1 nefilim
1 Jim Tang
1 Ben McCann
1 James Roper
1 falmp
1 Jateen Joshi
1 The Gitter Badger
1 Ugo Bataillard
1 mhughes
1 Daniel Wegener
1 Fabian M. Borschel
1 Jonas Fonseca
1 Levi Notik
1 Oleg Ilyenko
0 Josh Suereth

Don't miss a new sbt-native-packager release

NewReleases is sending notifications on new releases.