Get all of our dependencies (except the hacked version of Velocity) via Maven.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@2814 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
samskivert
2010-08-27 05:52:58 +00:00
parent c4120f1ab9
commit 4a4f41e9fb
+10
View File
@@ -2,10 +2,20 @@ import sbt._
class Samskivert (info :ProjectInfo) extends DefaultProject(info) class Samskivert (info :ProjectInfo) extends DefaultProject(info)
{ {
// interfaces JUnit with SBT, also adds JUnit4 dependency
val junitInterface = "com.novocode" % "junit-interface" % "0.4" % "test->default" val junitInterface = "com.novocode" % "junit-interface" % "0.4" % "test->default"
// samskivert dependencies
val servlet = "javax.servlet" % "servlet-api" % "2.5"
val mail = "javax.mail" % "mail" % "1.4.1"
val collections = "commons-collections" % "commons-collections" % "3.2.1"
val digester = "commons-digester" % "commons-digester" % "2.0"
val log4j = "log4j" % "log4j" % "1.2.15" intransitive() // it depends on JMS, we don't
// exclude a test that looks like a test, but isn't
override def testOptions = ExcludeTests("com.samskivert.util.IntSetTestBase" :: Nil) :: override def testOptions = ExcludeTests("com.samskivert.util.IntSetTestBase" :: Nil) ::
super.testOptions.toList super.testOptions.toList
// set the test_dir system property, needed by some of the unit tests
System.setProperty("test_dir", "target/scala_2.8.0/test-resources") System.setProperty("test_dir", "target/scala_2.8.0/test-resources")
} }