Fork this page on GitHub

Scalate

Download it today!

Download

You can download Scalate from the Sonatype repository.

sbt

If you build your project using sbt then just add the following to your build.sbt or project/Build.scala

libraryDependencies +=
  "org.scalatra.scalate" %% "scalate-core" % "{latest version}"

Maven

If you build your project using Maven then just add the following to your pom.xml

<dependency>
  <groupId>org.scalatra.scalate</groupId>
  <artifactId>scalate-core_2.12</artifactId>
  <version>{latest version}</version>  
</dependency>

The releases should be synchronized to the central maven repository so you should not need to add a maven repository to your pom.xml.

However if a release has not yet made it to the central repository or you want to add a repository for completeness, add the following to your pom.xml

Snapshots

If you want to use a snapshot version you should ensure you have the Scalate Snapshot Maven repository defined in your pom.xml

  
<repositories>
   <repository>
     <id>sonatype snapshots</id>
     <name>Sonatype Snapshot Repository</name>
     <url>https://oss.sonatype.org/content/repositories/snapshots</url>
     <snapshots>
       <enabled>true</enabled>
     </snapshots>
     <releases>
       <enabled>false</enabled>
     </releases>
   </repository>
 </repositories>

Building

If you prefer you can try building from the source code and building it