Skip to content
This repository has been archived by the owner on Oct 6, 2018. It is now read-only.

Add minimal setup for Native Packager #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ches
Copy link

@ches ches commented Apr 13, 2015

Play includes SBT Native Packager, but it won't work without at least some minimal metadata filled in the build configuration. This adds enough to produce a working Debian package with the debian:packageBin task. The universal:packageBin task should also work to produce a zipball containing built jars and run scripts.

Upgraded to Play 2.3 because from what I could tell, the version of Native Packager in 2.2 did not support the Java Server Application archetype, the desirable way to deploy a utility service like this which is the default in Play 2.3 settings. This required adding the sbt-less plugin since asset stuff has now been modularized.

Play includes SBT Native Packager, but it won't work without at least
some minimal metadata filled in the build configuration. This adds
enough to get a working Debian package.

Upgraded to Play 2.3 because from what I could tell, the version of
Native Packager in 2.2 did not support the Java Server Application
archetype [1], the desirable way to deploy a utility service like this
and the default in Play 2.3 settings. This required adding the sbt-less
plugin since asset stuff has now been modularized [2].

[1]: http://www.scala-sbt.org/sbt-native-packager/archetypes/java_server/index.html
[2]: https://www.playframework.com/documentation/2.3.x/Migration23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant