forked from NICTA/scoobi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
62 lines (49 loc) · 2.26 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/** Definition */
name := "scoobi"
organization := "com.nicta"
version := "0.6.0-cdh4-SNAPSHOT"
scalaVersion := "2.9.2"
libraryDependencies ++= Seq(
"javassist" % "javassist" % "3.12.1.GA",
"org.apache.avro" % "avro-mapred" % "1.7.0",
"org.apache.avro" % "avro" % "1.7.0",
"org.apache.hadoop" % "hadoop-client" % "2.0.0-mr1-cdh4.0.0",
"org.apache.hadoop" % "hadoop-core" % "2.0.0-mr1-cdh4.0.0",
"com.thoughtworks.xstream" % "xstream" % "1.4.3" intransitive(),
"org.scalaz" %% "scalaz-core" % "6.95",
"org.specs2" %% "specs2" % "1.12.2-SNAPSHOT" % "optional",
"org.specs2" % "classycle" % "1.4.1"% "test",
"org.scalacheck" %% "scalacheck" % "1.9" % "test",
"org.scala-tools.testing" % "test-interface" % "0.5" % "test",
"org.hamcrest" % "hamcrest-all" % "1.1" % "test",
"org.mockito" % "mockito-all" % "1.9.0" % "optional",
"org.pegdown" % "pegdown" % "1.0.2" % "test",
"junit" % "junit" % "4.7" % "test",
"org.apache.commons" % "commons-math" % "2.2" % "test",
"org.apache.commons" % "commons-compress" % "1.0" % "test"
)
(sourceGenerators in Compile) <+= (sourceManaged in Compile) map GenWireFormat.gen
resolvers ++= Seq("cloudera" at "https://repository.cloudera.com/content/repositories/releases",
"apache" at "https://repository.apache.org/content/repositories/releases",
"scoobi" at "http://nicta.github.com/scoobi/releases",
"sonatype" at "http://oss.sonatype.org/content/repositories/snapshots")
/** Compilation */
scalacOptions ++= Seq("-deprecation", "-Ydependent-method-types", "-unchecked")
/** Testing */
testOptions := Seq(Tests.Filter(s => s.endsWith("Spec") ||
Seq("Index", "All", "UserGuide", "ReadMe").exists(s.contains)))
testOptions in Test += Tests.Argument("scoobi", "local")
fork in Test := true
publishArtifact in packageDoc := false // disable building docs, as it takes so much time
pomExtra :=
<build>
<plugins>
<plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
<configuration>
<header>notes/header.txt</header>
</configuration>
</plugin>
</plugins>
</build>