Changes
Most notable changes are
- Systemloader plugins are now AutoPlugins
- Renamed
dockerTarget
todockerAlias
. See v1.2.0-M5 Release Notes - Multiple main class support
- Fix scoping
rpmBrpJavaRepackJars
. See v1.2.0-M5 Release Notes - Added
debian:stage
andrpm:stage
to create a staging directory ready to run the native build tool. Similar touniversal:stage
anddocker:stage
Some background information is also available via SBT Native Packager 1.2.0 Medium post
Thank you
This release wouldn't have been possible without all the amazing contributions from the community. I'm especially
grateful for the broad aspects of all the pull requests; bug fixes, feature implementations to cleaning up the docs.
These are the amazing persons that made this release possible:
Tim Steinbach
Jens Grassel
G. Richard Bellamy
Carsten Saathoff
Mitch Seymour
Andreas Kapp
Wojciech Pitula
Mathias Kub
eugene yokota
Ashley Engelund
Kirill Plyashkevich
David Pennell
Lukasz Stefaniak
Keir Lawson
Viktor Hedefalk
James Pic
Enno Runne
Seth Tisue
Tristan Blease
Pavel Penkov
Mike (stew) O'Connor
Ben McCann
Arron Norwell
Dale Wijnand
Donovan Levinson
Mikhail Yakshin
Carlos Quiroz
Ignas Vyšniauskas
Hayssam Saleh
Felix Satyaputra
Martin Studer
thrykol
Aaron Peschel
Simon Schulz
Yuval Itzchakov
Oskari Porkka
mr-git
Adam Mackler
Alexey Kardapoltsev
eduedix
Eduouard Kaiser
Sergey Grankin
Evgeniy Tsvigun
Fixed bugs
- Packaging deb package with 1.2.0-M9 doesn't generate
conffiles
file #984 - SystemVPlugin on Debian not working #955
- packageName in Docker has no effect #947
- Windows: error CNDL0014 $number is not a legal identifier #946
- DebianDeployPlugin publishes only changes #587
- bash-forwarder-template should define the same header as bash-template #921
- universal:packageBin not working with spaces in path (windows / play application) #913
- brp-java-repack-jars still running despite setting rpmBrpJavaRepackJars to false #789
- Syntax Error on RPM Uninstall #855
- serverAutostart not available to configure #852
- Publishing with Docker in Windows / 1.0.4 #849
- docker: tag -f is deprecated #818
- RPM scriptles from file produce duplicate entries. #812
- [bug] wrong systemd script file path in debian #679
Closed issues
- You probably access the destination server through a proxy server that is not well configured. #988
- Add maven-plugin to classpathTypes when using the JDebPlugin #982
- Documentation incorrect -- Docker v1.10 or higher required #981
- Publish Arbitrary Docker Tags #979
- way to skip pom generation? #975
- An equivalent to --no-cache #973
- Override DockerAlias toString method #972
- Support -SNAPSHOT versions when generating RPMs by default #971
- RPM with
killtimeout
#957 - Docker authentication fails with latest milestone #892
- Environment Variables in Command Not Handled #868
- Set entrypoint script exection bit when generating Dockerfile #861
- add rpmExplodedPackage command #848
- Evaluate LGTM service #833
- Java Options with space in them cannot be added #681
- Multiple rpm/deb packages with package dependency based on project dependency #956
- Add support for HEALTHCHECK in DockerPlugin #949
rpm:packageBin
reports "rpmVendor in Rpm
is empty" despite a value being set #943- Support JAVA_OPTS for Ash template, similar to bash #940
- 1.2.0-M8 adds an ADD opt command to the Dockerfile - why? #936
- Image is not tagged when using dockerBuildOptions #935
- How would one use this in a maven project #934
- Don't override packageName in UniversalPlugin #902
- Docker base image is deprecated #928
- dockerEntrypoint has no effect in 1.1.4 and 1.1.5 #927
- Native package heavily uses and recommends
\<+=
, which is deprecated #919 - s #915
- Multi-project build not working #914
- rpm help show summary of linux default config #912
- please publish to sonatype or somehow sync with maven central #906
- UNRESOLVED DEPENDENCIES - org.scala-sbt#sbt;0.13.12 not found #887
- universalArchiveOptions setting tar CLI command arguments: incorrect order (maybe) #886
- Add all jars in lib directory to classpath #885
- Dockerfile/java and Dockerfile/openjdk do not exist #879
- Use a Dockerfile rather than Scala? #875
- Documentation of dockerUpdateLatest needs updated #871
- Is there a way to retrieve the path/filename of the generated rpm? #870
- System Loader scripts are not being generated #869
- Support UDP ports for dockerExposedPorts #843
- JAVA_OPTS support for ash-template #738
- Flag '-f' for docker tag no longer exists in docker version 1.12 #859
- If there are two 'App' objects in project,
docker:publishLocal
task will silently produce invalid image withoutbin/app-name
file #858 sbt docker:stage
fails on Windows 10 #823- Native Packager Logo #762
- Rpm and Deb packaging is missing 'provides' and 'conflicts' tags/sections #801
- Multimodule:
docker:publish
error in virtual root #800 - Scoping for docker-related keys in DockerPlugin #796
- Update scalariform #790
- Upstart script does not use killTimeout #754
Merged pull requests
- Use SNAPSHOT for release when snapshot version #995 (keirlawson)
- Preserve executable permissions when creating a tarball #993 (Krever)
- Allow specifying classifier for default package in deployment settings #992 (Krever)
- FIX #981 Documentation incorrect -- Docker v1.10 or higher required #990 (muuki88)
- Implement stage command for rpm #989 (muuki88)
- Issue 972 pretty print docker alias #987 (muuki88)
- Issue 984 depend on conffiles #986 (muuki88)
- Add maven-plugin to classpathTypes when using JDebPlugin #985 (muuki88)
- Adjust mixed indenting in start-debian-template. #983 (jan0sch)
- Add Setting for Docker User #980 (apeschel)
- Prevent empty double quotes in start daemon line. #977 (jan0sch)
- update README #976 (eduedix)
- Fix DebianDeployPlugin not publishing deb file #961 (eed3si9n)
- #957 RPM with
killTimeout
#960 (mr-git) - Fixes handling of directories with numbers. #958 (eed3si9n)
- Add new system loader setting for file descriptor limit #954 (levinson)
- Some trivial formatting fix (tabs -> spaces) #951 (GreyCat)
- Fix #947 Correct scope for packageName in DockerPlugin #948 (muuki88)
- Define addJava in ash-template #944 (muuki88)
- Drop "in Docker" in some docker keys #939 (dwijnand)
- Allow custom templates to be provided separately for each template #938 (ANorwell)
- Fixes issue #789 where brpJavaRepack was negated #932 (YuvalItzchakov)
- Wip/remove symbolic operators #931 (muuki88)
- Fix appveyor build #930 (muuki88)
- Use stage task instead of debianExplodedPackage #925 (muuki88)
- Change shebang in bash-forwarder-template to
\#!/usr/bin/env bash
. #923 (jan0sch) - [rpm] Fix configWithNoReplace docs #920 (kodemaniak)
- If mappings are empty don't add them to the linuxPackageMappings #917 (muuki88)
- "docker push" should support dockerExecCommand #911 (rbellamy)
- Add dockerExecCommand setting #910 (rbellamy)
- WIP 633 Add prototype for multiple apps in single project #839 (muuki88)
- Replace deprecated java Docker container with openjdk (#877) #970 (edouardKaiser)
- Adding rpm override script tests #891 (mitch-seymour)
- Updated cheatsheet with the correct file path for overriding service manager scripts #890 (mitch-seymour)
- Update documentation with warning about overriding default tar options. #889 (mackler)
- Generate EXPOSE when only UDP ports are exposed #888 (lustefaniak)
- Support for absolute paths in classpath #882 (hayssams)
- Add ability to expose UDP ports #881 (NeQuissimus)
- Remove dockerfile/ prefix from openjdk images #880 (NeQuissimus)
- Replace deprecated java Docker image with openjdk #877 (NeQuissimus)
- Fixed wrong description of daemonGroup #876 (PavelPenkov)
- Updated dockerUpdateLatest documentation to indicate minimum docker v… #874 (thrykol)
- Clarify and fix grammar for Formats docs #867 (weedySeaDragon)
- Updated systemloaders.rst #865 (martinstuder)
- Introduction: clarify and fix grammar #863 (weedySeaDragon)
- FIX #855 Syntax Error on RPM Uninstall #860 (muuki88)
- Adding 'dockerBuild{Command, Options}' and renaming 'dockerTag' #854 (makubi)
- Fix scoping in RPM plugin for #789 #826 (thetristan)
- Rename dockerTarget to dockerTag #851 (makubi)
- Fix:
exec
the java entrypoint in ash-template #850 (yfyf) - Fix duplicate RPM scriptlet override #825 (fsat)
- Make
sbt docker:stage
work on Windows #824 (oporkka) - Expand the java home argument #822 (cquiroz)
- docker: tag -f is deprecated #821 (sgrankin)
- FIX #762 Add native packager logo to docs and README #820 (muuki88)
- typo fixed on Docker Plugin page #817 (utgarda)
- Report compression issue with Debian Wheezy's python-apt #811 (jpic)
- fix typo rpmScriptletsDirectory #804 (zoosky)
- Support for 'Provides' and 'Conflicts' sections for debian packaging #803 (412b)
- Introduce new namespace and solve duplicate key issue #802 (smoes)
- Fix #754 Add kill timeout to upstart. Add retryTimeout and retries keys #799 (muuki88)
- Fix typo in debian systemv script. #798 (jan0sch)
- Use recommended path for systemd scripts #795 (muuki88)
- Wip/upgrade build #794 (muuki88)
- Extract Systemloaders into AutoPlugins #785 (muuki88)