Skip to content


Subversion checkout URL

You can clone with
Download ZIP
A simple-build-tool plugin for deploying a Scala project to a server
Scala Shell
Branch: master

sbt-deploy: Add LICENSE file

Signed-off-by: Karim Osman <>
latest commit 4904dd0c06
@kro kro authored

A simple-build-tool 0.11.x plugin for deploying a project


The sbt-deploy plugin consists of a set of plugins that provide reusable tasks and methods for defining deploy sequences. A deploy sequence is a task that consists of one or more tasks that deploys a distribution to a execution environment. Starting and stopping the service, database migrations, etc. may be part of the deployment process as deploy sequence may consist of user defined tasks.

Installation and usage

Create a file, project/plugins/build.sbt, for plugin library dependencies with the following lines:

  resolvers += "sbt-deploy-repo" at ""

  addSbtPlugin("fi.reaktor" %% "sbt-deploy" % "0.3.1-SNAPSHOT")

Then, start using the plugin by amending your settings in the build as follows:

import sbt._
import Keys._

import sbt.deploy.BasicDeployPlugin
import sbt.deploy.BasicDeployPlugin._
import sbt.deploy.BasicDeployPlugin.{Keys => BDP}

object MyProjectBuild extends Build {
  lazy val envSettings = Seq(
    BDP.user := "user", := "localhost",
    BDP.instDirParent := new File("/opt/my-project")
  lazy val MyProject = Project(
    id = "my-project",
    base = file("."),
    settings = Defaults.defaultSettings ++ envSettings + basicDeploySettings
Something went wrong with that request. Please try again.