From 4a4f41e9fbf65f26487cdd796ff8ab83ec7f6db8 Mon Sep 17 00:00:00 2001 From: samskivert Date: Fri, 27 Aug 2010 05:52:58 +0000 Subject: [PATCH] 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 --- project/build/Samskivert.scala | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/project/build/Samskivert.scala b/project/build/Samskivert.scala index 0adeb13d..7afd0da9 100644 --- a/project/build/Samskivert.scala +++ b/project/build/Samskivert.scala @@ -2,10 +2,20 @@ import sbt._ 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" + // 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) :: 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") }