Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: a7f9bd5215
Fetching contributors…

Cannot retrieve contributors at this time

110 lines (76 sloc) 4.461 kb
import sbt._
import sbt.Keys._
object ApplicationBuild extends Build {
val appName = "TwsToAmqp"
val appVersion = "1.0-SNAPSHOT"
val qpidversion ="0.24";
var buildSettings = Seq(
sbtVersion := "0.13",
scalaVersion := "2.10.2",
fork:= true,
scalacOptions ++= Seq("-unchecked", "-deprecation", "-Yinline-warnings", "-Xcheckinit", "-encoding", "utf8", "-feature"),
scalacOptions ++= Seq("-language:higherKinds", "-language:postfixOps", "-language:implicitConversions", "-language:reflectiveCalls", "-language:existentials"),
javacOptions ++= Seq("-target", "1.6", "-source", "1.6", "-Xlint:deprecation"),
resolvers += "Typesafe Repo" at "http://repo.typesafe.com/typesafe/releases/",
resolvers += "maven repo" at "http://repo1.maven.org/maven2",
resolvers += "Local Maven Repository" at "file:///"+Path.userHome+"/.m2/repository"
)
val allSettings = buildSettings ++ Defaults.defaultSettings ++ Seq(
libraryDependencies ++= Dependencies.appDependencies
)
lazy val root = Project(id = "twstoamqp", base = file("."),settings = allSettings)
object Dependencies {
object Compile {
// Common Public License 1.0
val logback = "ch.qos.logback" % "logback-classic" % "1.0.7" % "test"
val slf4japi = "org.slf4j" % "slf4j-api" % "1.7.2"
val slf4jimpl = "org.slf4j" % "slf4j-log4j12" % "1.7.2"
val mockito = "org.mockito" % "mockito-all" % "1.8.1" % "test" // MIT
val xalan = "xalan" % "xalan" % "2.7.1"
val xpp3 = "xpp3" % "xpp3_min" % "1.1.4c"
val xstream = "com.thoughtworks.xstream" % "xstream" % "1.4.3"
val commons = "org.apache.commons" % "commons-lang3" % "3.1"
val scalareflect = "org.scala-lang" % "scala-reflect" % "2.10.0"
val akka = "com.typesafe.akka" % "akka-actor_2.10" % "2.1.0"
val springcontext = "org.springframework" % "spring-context" % "3.2.2.RELEASE"
val springcore = "org.springframework" % "spring-core" % "3.2.2.RELEASE"
val springtx = "org.springframework" % "spring-tx" % "3.2.2.RELEASE"
val springtest = "org.springframework" % "spring-test" % "3.2.2.RELEASE" % "test"
val scalatest = "org.scalatest" % "scalatest_2.10.0" % "2.0.M5" % "test"
val scalacheck = "org.scalacheck" %% "scalacheck" % "1.10.0" % "test" // New BSD
val testng = "org.testng" % "testng" % "6.5.1" % "test"
val guice ="com.google.inject" % "guice" % "3.0" % "test"
val specs = "org.specs2" % "specs2_2.10" % "1.14" % "test"
// qpid dependenices for amqp client
//val qpidclient = "org.apache.qpid" % "qpid-client" % qpidversion
//val qpidcommon = "org.apache.qpid" % "qpid-common" % qpidversion
// val qpidbroker = "org.apache.qpid" % "qpid-broker" % qpidversion % "test"
// proton dependencies for amqp broker/server
val protonapi = "org.apache.qpid" % "proton-api" % "0.5"
val protonimpl = "org.apache.qpid" % "proton-j-impl" % "0.5"
val proton_hawtdispatch = "org.apache.qpid" % "proton-hawtdispatch" % "0.5"
val apollo= "org.apache.activemq" % "apollo-broker" % "1.6"
val apollo_leveldb= "org.apache.activemq" % "apollo-leveldb" % "1.6"
val apollo_jmx = "org.apache.activemq" % "apollo-jmx" % "1.6"
val apollo_web= "org.apache.activemq" % "apollo-web" % "1.6" excludeAll(
//ExclusionRule(organization = "com.sun.jersey"),
ExclusionRule(organization = "net.sf.josql")
)
val apollo_ampq = "org.apache.activemq" % "apollo-amqp" % "1.6"
val jettyWebApp= "org.eclipse.jetty" % "jetty-webapp" % "8.0.0.v20110901"
val jettyServer= "org.eclipse.jetty" % "jetty-server" % "8.0.0.v20110901"
val jettyServlet= "org.eclipse.jetty" % "jetty-servlet" % "8.0.0.v20110901"
}
import Compile._
val appDependencies = Seq(
guice,scalatest,springtest,testng,//specs,
springtx,springcore,springcontext,
logback,slf4japi,slf4jimpl, xstream,
akka,scalareflect,
//qpidclient,qpidcommon,qpidbroker,
protonapi,protonimpl,proton_hawtdispatch,
apollo,apollo_leveldb,apollo_web,apollo_jmx,apollo_ampq,
jettyServer, jettyWebApp,jettyServlet
)
}
}
Jump to Line
Something went wrong with that request. Please try again.