Permalink
Browse files

Switch to multi-module eventsourced library

  • Loading branch information...
1 parent 45b5764 commit f8960ef711bd9964c57d376eb8183a58327e374d @krasserm krasserm committed Feb 11, 2013
@@ -44,22 +44,24 @@ object Dependencies {
import Versions._
// compile dependencies
- lazy val akkaActor = "com.typesafe.akka" %% "akka-actor" % Akka % "compile"
- lazy val jsr311 = "javax.ws.rs" % "jsr311-api" % "1.1.1" % "compile"
- lazy val jerseyCore = "com.sun.jersey" % "jersey-core" % Jersey % "compile"
- lazy val jerseyJson = "com.sun.jersey" % "jersey-json" % Jersey % "compile"
- lazy val jerseyServer = "com.sun.jersey" % "jersey-server" % Jersey % "compile"
- lazy val jerseySpring = "com.sun.jersey.contribs" % "jersey-spring" % Jersey % "compile"
- lazy val eventsourced = "org.eligosource" %% "eventsourced" % "0.5-SNAPSHOT" % "compile"
- lazy val scalate = "org.fusesource.scalate" %% "scalate-core" % "1.6.1" % "compile"
- lazy val scalaStm = "org.scala-stm" %% "scala-stm" % "0.7" % "compile"
- lazy val scalaz = "org.scalaz" %% "scalaz-core" % "6.0.4" % "compile"
- lazy val springWeb = "org.springframework" % "spring-web" % Spring % "compile"
+ lazy val akkaActor = "com.typesafe.akka" %% "akka-actor" % Akka % "compile"
+ lazy val jsr311 = "javax.ws.rs" % "jsr311-api" % "1.1.1" % "compile"
+ lazy val jerseyCore = "com.sun.jersey" % "jersey-core" % Jersey % "compile"
+ lazy val jerseyJson = "com.sun.jersey" % "jersey-json" % Jersey % "compile"
+ lazy val jerseyServer = "com.sun.jersey" % "jersey-server" % Jersey % "compile"
+ lazy val jerseySpring = "com.sun.jersey.contribs" % "jersey-spring" % Jersey % "compile"
+ lazy val scalate = "org.fusesource.scalate" %% "scalate-core" % "1.6.1" % "compile"
+ lazy val scalaStm = "org.scala-stm" %% "scala-stm" % "0.7" % "compile"
+ lazy val scalaz = "org.scalaz" %% "scalaz-core" % "6.0.4" % "compile"
+ lazy val springWeb = "org.springframework" % "spring-web" % Spring % "compile"
+
+ lazy val esCore = "org.eligosource" %% "eventsourced-core" % "0.5-SNAPSHOT" % "compile"
+ lazy val esJournal = "org.eligosource" %% "eventsourced-journal-leveldb" % "0.5-SNAPSHOT" % "compile"
// container dependencies TODO: switch from "compile" to "container" when using xsbt-web-plugin
- lazy val jettyServer = "org.eclipse.jetty" % "jetty-server" % Jetty % "compile"
- lazy val jettyServlet = "org.eclipse.jetty" % "jetty-servlet" % Jetty % "compile"
- lazy val jettyWebapp = "org.eclipse.jetty" % "jetty-webapp" % Jetty % "compile"
+ lazy val jettyServer = "org.eclipse.jetty" % "jetty-server" % Jetty % "compile"
+ lazy val jettyServlet = "org.eclipse.jetty" % "jetty-servlet" % Jetty % "compile"
+ lazy val jettyWebapp = "org.eclipse.jetty" % "jetty-webapp" % Jetty % "compile"
// runtime dependencies
lazy val configgy = "net.lag" % "configgy" % "2.0.0" % "runtime"
@@ -80,7 +82,7 @@ object ExampleBuild extends Build {
settings = buildSettings ++ templateSettings ++ Seq (
resolvers := Seq (typesafeRepo, eligosourceReleasesRepo, eligosourceSnapshotsRepo),
// compile dependencies (backend)
- libraryDependencies ++= Seq (akkaActor, scalaStm, eventsourced, scalaz),
+ libraryDependencies ++= Seq (akkaActor, scalaStm, esCore, esJournal, scalaz),
// compile dependencies (frontend)
libraryDependencies ++= Seq (jsr311, jerseyCore, jerseyJson, jerseyServer, jerseySpring, springWeb, scalate),
// container dependencies
@@ -24,7 +24,7 @@ import akka.actor._
import akka.util.Timeout
import org.eligosource.eventsourced.core._
-import org.eligosource.eventsourced.journal.LeveldbJournal
+import org.eligosource.eventsourced.journal.leveldb.LeveldbJournal
import org.eligosource.eventsourced.example.domain.Invoice
import org.eligosource.eventsourced.example.service._

0 comments on commit f8960ef

Please sign in to comment.