A sample of build.sbt with sbt-native-packager:
import com.typesafe.sbt.packager.Keys._
import com.typesafe.sbt.SbtNativePackager._
packageArchetype.java_application
mappings in Universal ++= {
((file("src/main/resources") * "*").get map { f => f -> ("conf/" + f.name) }) ++
((file("bin") * "*").get map { f => f -> ("bin/" + f.name) })
}