Maven Repository

The latest spray releases are available from Maven Central, so no special resolver should be required to be able to pull them in. In addition, older artifacts (including milestones and RCs) are hosted in this repository:

If you use SBT you’ll want to add the following resolver:

resolvers += "spray repo" at ""

Nightly builds are available from, to use them add this resolver:

resolvers += "spray nightlies repo" at ""

Artifact Naming

All spray artifacts follow this naming scheme:

Group ID:io.spray
Artifact ID:Module Name
Version:Release Version

So, for expressing a dependency on a spray module with SBT you’ll want to add something like this to your project settings:

libraryDependencies += "io.spray" % "spray-can" % "1.x.x" // versions 1.1.x and 1.2.x

or (note the %%):

libraryDependencies += "io.spray" %% "spray-can" % "1.3.x"

Make sure to replace the artifact name and version number with the one you are targeting! (see Current Versions)