Skip to content

Releases: sbt/sbt-native-packager

Docker/Windows/Bash Updates

Pre-release

Choose a tag to compare

@muuki88 muuki88 released this 08 Jan 19:06

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

Issue(s) Commit Message
f5ab978 Merge branch 'master' into fix/windows-bat-script
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.

Pull requests since v1.0.0-M3

Pull Request(s) Commit Message
#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
#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

A big thank you to all the contributors!

# Author
10 Nepomuk Seiler
3 Christopher Hunt
3 Artem Tartakynov
2 Branko Juric
2 Artem Pyanykh
2 Robert Boll
2 Ashley Penney
1 Артем Тартакынов
1 Michal Rus
1 nefilim
1 Jim Tang
1 nazoking
1 Oleg Ilyenko
0 Alexey Kardapoltsev

Version 0.8.0

Choose a tag to compare

@muuki88 muuki88 released this 08 Jan 20:18

Commits and the issues they fixed since v0.7.6

Issue(s) Commit Message
763c1c8 Merge branch 'master' into fix/bash-batfile-name
7c6f6ec Fixing update-latest to work with docker 1.3 and greater
#435 1b55f1c FIX #435 Adding loader and control functions
6b44f17 windows bat exit code fix Return exit code 1 in windows bat script if java appli
062af53 fix import Conflicts:
00e870b fix test
6a7a131 fix windows batch argument probrem. the shift command of cmd.exe is not shift
7f5c66b Fix example code in GettingStartedServers/MyFirstProject
99b5fd7 Fix permissions and group for /var/run/${{app_name}} folder in SystemV init scri
9192cb7 fix typo in mappings example
#372 2d2aa36 FIX #372: On upgrade service is stopped twice
#358 3d63d6e Rebasing and fixing tests on master. Adding changes discussed in #358
#312 df909ea FIX #285 FIX #287 FIX #52 FIX #312 Improved docs for packageMappings in Universa
#295 e3d4614 FIX #295 Adding documentation for docker tags
#318 98e4e58 FIX #318 Wildcard match on errorcode
32f6fe2 Fix typos in getting started docs
94cc080 fix rpm tests with new /etc/default permissions
7bb0bb5 Fix typo in 'MyFirstProject'
8ac8257 fix minor spelling mistakes
d3de8f7 Fixed wrong archive name in jdeb packaging
76bc6b6 Fix RPM System User Deletion on Upgrade
29fc5aa fixing empty directory mapping test
#324 a5b7015 FIX #324 adding empty dirs to deb package
#322 75583fe FIX #322 adding permissions to jdeb packaging
#304 492a8b7 FIX #304 adding requirements for debian packaging
#217 22a691a FIX #217 Introduced executableScriptName setting
#301 9122098 FIX #301
9f87bb1 Adding more settings and fixing settings description
#188 8d9a305 Clean up name delegation in the plugin. A few rules: * Each configuration shoul
#292 1f46265 Fixes #292 - Not feeding new isSnapshot value to ivy configuration.

Pull requests since v0.7.6

Pull Request(s) Commit Message
#250 53d3cd8 Clean up name delegation in the plugin. A few rules:Clean up name delegation i
#298 37d0f44 Fixes #292 - Not feeding new isSnapshot value to ivy configuration.Fixes #292 -
#299 3d8b37e Adding docs for name-delegation in #250Adding docs for name-delegation in #250
#300 90c5697 Update README now that 0.7.2 is releasedUpdate README now that 0.7.2 is release
#303 05208e1 .12 Removing sbt 0.12.x supportRemoving sbt 0.12.x support
#305 bb5fea8 Remove cross-build configuration from build.sbt.Remove cross-build configuratio
#307 dd95154 .3 Upgrade to jdeb 1.3 to stop old version of slf4j from being pulled inUpgrade
#308 459b788 Adding docker tests to release scriptAdding docker tests to release script
#311 aab0858 FIX #304 adding requirements for debian packagingFIX #304 adding requirements f
#315 da1e957 No need for importNo need for import
#317 0af1b28 flag to update latest tagflag to update latest tag
#319 8950f15 Custom mainclassCustom mainclass
#321 1f78f2a maintainer should be in Docker or Dockerfile will write an empty valuemaintaine
#323 e09d65a FIX #322 adding permissions to jdeb packagingFIX #322 adding permissions to jde
#325 a6325f6 FIX #324 adding empty dirs to deb packageFIX #324 adding empty dirs to deb pack
#326 b6dbe19 Fix RPM System User Deletion on UpgradeFix RPM System User Deletion on Upgrade
#328 d334c80 Fixed wrong archive name in jdeb packagingFixed wrong archive name in jdeb pack
#332 3a35214 Implemented the changelog to RPMImplemented the changelog to RPM
#333 9ebb44b Added support for classifiers in multiproject buildsAdded support for classifie
#337 51e948b change plugin version to 0.7.5-RC1 in documen...
Read more

Windows and JDeb Fixes

Pre-release

Choose a tag to compare

@muuki88 muuki88 released this 26 Nov 23:04

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

Issue(s) Commit Message
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.

Pull requests since v1.0.0-M2

Pull Request(s) Commit Message
#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
#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

A big thank you to all the contributors!

# Author
8 nazoking
3 Nepomuk Seiler
3 Michael Hamrah
1 falmp
1 Alexey Kardapoltsev

v0.8.0-RC2: Revert "Enforcing java-6 for now"

Choose a tag to compare

@muuki88 muuki88 released this 26 Nov 22:49

Commits and the issues they fixed since v0.8.0-RC1

Issue(s) Commit Message
062af53 fix import Conflicts:
00e870b fix test
6a7a131 fix windows batch argument probrem. the shift command of cmd.exe is not shift

Pull requests since v0.8.0-RC1

Pull Request(s) Commit Message
#393 - fix windows batch argument probrem
#390 - Setting maintainer for Docker images can be optional.

A big thank you to all the contributors!

# Author
6 nazoking
3 Nepomuk Seiler
1 Gary Coady

Windows fixes

Windows fixes Pre-release
Pre-release

Choose a tag to compare

@muuki88 muuki88 released this 26 Nov 22:47

Commits and the issues they fixed since v0.7.6

Issue(s) Commit Message
8f55e50 fix import Conflicts:
b417223 fix test
17a9a49 fix windows batch argument probrem. the shift command of cmd.exe is not shift

Pull requests since v0.7.6

Pull Request(s) Commit Message
#393 - fix windows batch argument probrem

A big thank you to all the contributors!

# Author
6 nazoking
2 Nepomuk Seiler

Autoplugins #2

Autoplugins #2 Pre-release
Pre-release

Choose a tag to compare

@muuki88 muuki88 released this 08 Nov 11:03

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

Issue(s) Commit Message
8b0f4ae Merge branch 'master' into fix/bashscript-location Conflicts:
#391 d4034dc FIX #391 Fixing all lintian errors and some warnings
#388 c312307 FIX #388 remove dependencies to chmod.

Pull requests since v1.0.0-M1

Pull Request(s) Commit Message
#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
#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

A big thank you to all the contributors!

# Author
6 Nepomuk Seiler
4 Gary Coady
2 Christopher Hunt
1 Levi Notik
0 Josh Suereth

Autoplugins Preview

Autoplugins Preview Pre-release
Pre-release

Choose a tag to compare

@muuki88 muuki88 released this 22 Oct 18:44

Why autoplugins

This release is a first preview on how sbt-native-packager will handle your build
configuration in the future. The main point is

Everything is an autoplugin

Enabling java packaging looks like this

enablePlugins(JavaAppPackaging)

sbt will enable all required plugins to make the app packaging work.
You can also enable only a specific packaging plugin like

enablePlugins(DockerPlugin)

or disable an unwanted plugin

disablePlugins(WindowsPlugin)

Available Plugins are

  • JavaAppPackaginPlugin
  • AkkaAppPackaginPlugin
  • JavaServerAppPackaging
  • UniversalPlugin
  • DockerPlugin
  • DebianPlugin
    -- JDebPackaging
  • RpmPlugin
  • WindowsPlugin
  • SbtNativePackager (this one defines only generic settings used by all packaging plugins)

Commits and the issues they fixed since v0.8.0-M2

Issue(s) Commit Message
9c23767 Fix example code in GettingStartedServers/MyFirstProject
3029508 Fix permissions and group for /var/run/${{app_name}} folder in SystemV init scri
9192cb7 fix typo in mappings example
#372 2d2aa36 FIX #372: On upgrade service is stopped twice

Pull requests since v0.8.0-M2

Pull Request(s) Commit Message
#369 157f858 Handles OpenJDK version output on WindowsHandles OpenJDK version output on Wind
#371 dd55465 fix typo in mappings examplefix typo in mappings example
#373 a5caa26 FIX #372: On upgrade service is stopped twiceFIX #372: On upgrade service is st
#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

A big thank you to all the contributors!

# Author
2 Nepomuk Seiler
2 Artem Pyanykh
1 Henrik Engstrom
1 Oleg Kandaurov
1 Alexey Kardapoltsev
1 Michael Hamrah

solid bashscripts / solid docs

Pre-release

Choose a tag to compare

@muuki88 muuki88 released this 22 Oct 18:34

Commits and the issues they fixed since v0.8.0-M2

Issue(s) Commit Message
7f5c66b Fix example code in GettingStartedServers/MyFirstProject
99b5fd7 Fix permissions and group for /var/run/${{app_name}} folder in SystemV init scri
9192cb7 fix typo in mappings example
#372 2d2aa36 FIX #372: On upgrade service is stopped twice

Pull requests since v0.8.0-M2

Pull Request(s) Commit Message
#369 157f858 Handles OpenJDK version output on WindowsHandles OpenJDK version output on Wind
#371 dd55465 fix typo in mappings examplefix typo in mappings example
#373 a5caa26 FIX #372: On upgrade service is stopped twiceFIX #372: On upgrade service is st

A big thank you to all the contributors!

# Author
2 Artem Pyanykh
1 Nepomuk Seiler
1 Henrik Engstrom
1 Oleg Kandaurov
1 Alexey Kardapoltsev
1 Michael Hamrah

Bug Fix Release

Choose a tag to compare

@muuki88 muuki88 released this 22 Oct 18:28

Commits and the issues they fixed since v0.7.5

Issue(s) Commit Message
797ff55 Fix example code in GettingStartedServers/MyFirstProject
93c0c62 Fix permissions and group for /var/run/${{app_name}} folder in SystemV init scri

Pull requests since v0.7.5

Pull Request(s) Commit Message
#379 b853197 Describe server loading options in server docs
#369 ed9c8a5 Handles OpenJDK version output on Windows

A big thank you to all the contributors!

# Author
2 Artem Pyanykh
1 Michael Hamrah
1 Henrik Engstrom

Bash Script Refactorings

Pre-release

Choose a tag to compare

@muuki88 muuki88 released this 01 Oct 10:07

Commits and the issues they fixed since v0.8.0-M1

Issue(s) Commit Message
#358 3d63d6e Rebasing and fixing tests on master. Adding changes discussed in #358
#312 df909ea FIX #285 FIX #287 FIX #52 FIX #312 Improved docs for packageMappings in Universa
#295 e3d4614 FIX #295 Adding documentation for docker tags
#318 98e4e58 FIX #318 Wildcard match on errorcode
32f6fe2 Fix typos in getting started docs
94cc080 fix rpm tests with new /etc/default permissions
7bb0bb5 Fix typo in 'MyFirstProject'

Pull requests since v0.8.0-M1

Pull Request(s) Commit Message
#343 8ac53de [docker] Java Latest[docker] Java Latest
#344 c48b70c Settings Adding documentation on how to deploy packagesAdding documentation on h
#348 d0acaf1 Wip/bashscript refactoringWip/bashscript refactoring
#350 f651387 Fix typo in docs about 'MyFirstProject'Fix typo in docs about 'MyFirstProject'
#351 7cc2e09 Fix typos in getting started docs.Fix typos in getting started docs.
#354 feda420 Permissions for /etc/default/app_name changed to 644Permissions for /etc/defaul
#356 72594d7 Improved docs for packageMappings in Universal and LinuxImproved docs for packa
#358 b43d10c changed template for /etc/init/{{app_name}} This seems to fix issue #357...chan
#359 ab663cc FIX #318 Wildcard match on errorcodeFIX #318 Wildcard match on errorcode
#360 dbbc66c FIX #295 Adding documentation for docker tagsFIX #295 Adding documentation for
#363 5f9fea8 archetype for Akka microKernel application #316 archetype for Akka microKernel
#366 0b2b6df Preparing documentation for next releasePreparing documentation for next releas

A big thank you to all the contributors!

# Author
11 Nepomuk Seiler
2 Artem Pyanykh
2 Alexey Kardapoltsev
1 Ricardo Franco
1 Florian Marienfeld
1 Max Cai