Releases

The latest release of ScalaSTM is version 0.7. To get it you can

Release notes

Changes between 0.7 and 0.8:

Changes between 0.6 and 0.7:

Changes between 0.5 and 0.6:

Changes between 0.4 and 0.5

Changes between 0.3 and 0.4

Changes between 0.2 and 0.3

Changes between 0.1 and 0.2

SBT

Tell sbt about a dependency on ScalaSTM by adding a library dependency to your build.sbt file (or a Scala build file)

libraryDependencies += ("org.scala-stm" %% "scala-stm" % "0.8")

sbt update will then download the correct scala-stm JAR and use it for building.

Maven2

Separate artifacts are published for each version of Scala, so the desired Scala version (such as 2.12) must be included in the artifactId for Maven (sbt automatically handles this). The ScalaSTM dependency for your pom.xml is

<dependencies>
  <dependency>
    <groupId>org.scala-stm</groupId>
    <artifactId>scala-stm_2.12</artifactId>
    <version>0.8</version>
  </dependency>
</dependencies>

The deployment tests inside the ScalaSTM source include a complete pom.xml