Skip to content
Newer
Older
100644 86 lines (68 sloc) 4.67 KB
d505b36 @indrajitr Move to SBT 0.11.2
indrajitr authored
1 /*
2 * Copyright 2011 WorldWide Conferencing, LLC
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17 import sbt._
18 import Keys._
9a78397 @indrajitr - Update to SBT 0.12.0-M1
indrajitr authored
19 import net.liftweb.sbt.LiftBuildPlugin.{crossMapped, defaultOrMapped}
d505b36 @indrajitr Move to SBT 0.11.2
indrajitr authored
20
21
22 object Dependencies {
23
9a78397 @indrajitr - Update to SBT 0.12.0-M1
indrajitr authored
24 type DynModuleID = String => ModuleID
d505b36 @indrajitr Move to SBT 0.11.2
indrajitr authored
25
9a78397 @indrajitr - Update to SBT 0.12.0-M1
indrajitr authored
26 lazy val CVMapping282 = crossMapped("2.8.2" -> "2.8.1")
d505b36 @indrajitr Move to SBT 0.11.2
indrajitr authored
27
9a78397 @indrajitr - Update to SBT 0.12.0-M1
indrajitr authored
28 lazy val slf4jVersion = "1.6.4"
d505b36 @indrajitr Move to SBT 0.11.2
indrajitr authored
29
9a78397 @indrajitr - Update to SBT 0.12.0-M1
indrajitr authored
30 lazy val scalazGroup = defaultOrMapped("org.scalaz", "2.8.0" -> "com.googlecode.scalaz")
31 lazy val scalazVersion = defaultOrMapped("6.0.2", "2.8.0" -> "5.0", "2.9.0" -> "6.0.RC2")
32 lazy val scalacheckVersion = defaultOrMapped("1.9", "2.8.0" -> "1.7", "2.8.1" -> "1.8", "2.8.2" -> "1.8")
33 lazy val specsVersion = defaultOrMapped("1.6.8", "2.8.0" -> "1.6.5", "2.9.1" -> "1.6.9")
d505b36 @indrajitr Move to SBT 0.11.2
indrajitr authored
34
35 // Compile scope:
36 // Scope available in all classpath, transitive by default.
37 lazy val commons_codec = "commons-codec" % "commons-codec" % "1.4"
38 lazy val commons_fileupload = "commons-fileupload" % "commons-fileupload" % "1.2.2"
39 lazy val commons_httpclient = "commons-httpclient" % "commons-httpclient" % "3.1"
40 lazy val dispatch_http = "net.databinder" %% "dispatch-http" % "0.7.8"
9a78397 @indrajitr - Update to SBT 0.12.0-M1
indrajitr authored
41 lazy val javamail = "javax.mail" % "mail" % "1.4.4"
d505b36 @indrajitr Move to SBT 0.11.2
indrajitr authored
42 lazy val joda_time = "joda-time" % "joda-time" % "1.6.2"
43 lazy val htmlparser = "nu.validator.htmlparser" % "htmlparser" % "1.2.1"
44 lazy val mongo_java_driver = "org.mongodb" % "mongo-java-driver" % "2.6.5"
45 lazy val paranamer = "com.thoughtworks.paranamer" % "paranamer" % "2.4.1"
9a78397 @indrajitr - Update to SBT 0.12.0-M1
indrajitr authored
46 lazy val scalajpa = "org.scala-libs" % "scalajpa" % "1.4" cross CVMapping282
d505b36 @indrajitr Move to SBT 0.11.2
indrajitr authored
47 lazy val scalap: DynModuleID = "org.scala-lang" % "scalap" % _
9a78397 @indrajitr - Update to SBT 0.12.0-M1
indrajitr authored
48 lazy val scalaz_core: DynModuleID = sv => scalazGroup(sv) % "scalaz-core" % scalazVersion(sv) cross CVMapping282
d505b36 @indrajitr Move to SBT 0.11.2
indrajitr authored
49 lazy val slf4j_api = "org.slf4j" % "slf4j-api" % slf4jVersion
9a78397 @indrajitr - Update to SBT 0.12.0-M1
indrajitr authored
50 lazy val squeryl = "org.squeryl" % "squeryl" % "0.9.4" cross CVMapping282
d505b36 @indrajitr Move to SBT 0.11.2
indrajitr authored
51
52 // Aliases
53 lazy val mongo_driver = mongo_java_driver
54 lazy val scalaz = scalaz_core
55
56
57 // Provided scope:
58 // Scope provided by container, available only in compile and test classpath, non-transitive by default.
59 lazy val logback = "ch.qos.logback" % "logback-classic" % "1.0.0" % "provided"
60 lazy val log4j = "log4j" % "log4j" % "1.2.16" % "provided"
61 lazy val slf4j_log4j12 = "org.slf4j" % "slf4j-log4j12" % slf4jVersion % "provided"
62 lazy val persistence_api = "javax.persistence" % "persistence-api" % "1.0" % "provided"
63 lazy val servlet_api = "javax.servlet" % "servlet-api" % "2.5" % "provided"
64
65
66 // Runtime scope:
67 // Scope provided in runtime, available only in runtime and test classpath, not compile classpath, non-transitive by default.
68 lazy val derby = "org.apache.derby" % "derby" % "10.7.1.1" % "runtime" //% "optional"
69 lazy val h2database = "com.h2database" % "h2" % "1.2.147" % "runtime" //% "optional"
70
71 // Aliases
72 lazy val h2 = h2database
73
74
75 // Test scope:
76 // Scope available only in test classpath, non-transitive by default.
77 // TODO: See if something alternative with lesser footprint can be used instead of mega heavy apacheds
b0d5487 @indrajitr Add mockito dependency
indrajitr authored
78 lazy val apacheds = "org.apache.directory.server" % "apacheds-server-integ" % "1.5.5" % "test"
79 lazy val jetty6 = "org.mortbay.jetty" % "jetty" % "6.1.26" % "test"
80 lazy val jwebunit = "net.sourceforge.jwebunit" % "jwebunit-htmlunit-plugin" % "2.5" % "test"
81 lazy val mockito_all = "org.mockito" % "mockito-all" % "1.8.5" % "test"
9a78397 @indrajitr - Update to SBT 0.12.0-M1
indrajitr authored
82 lazy val scalacheck: DynModuleID = "org.scala-tools.testing" % "scalacheck" % scalacheckVersion(_) % "test" cross CVMapping282
83 lazy val specs: DynModuleID = "org.scala-tools.testing" % "specs" % specsVersion(_) % "test" cross CVMapping282
d505b36 @indrajitr Move to SBT 0.11.2
indrajitr authored
84
85 }
Something went wrong with that request. Please try again.