-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sbt
55 lines (41 loc) · 1.67 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
import SonatypeKeys._
organization := "com.nicta"
name := "scoobi-compatibility-cdh4"
version := "1.0.3"
scalaVersion := "2.10.4"
crossScalaVersions := Seq("2.10.4", "2.11.2")
libraryDependencies ++= Seq("org.apache.hadoop" % "hadoop-client" % "2.0.0-mr1-cdh4.0.1" exclude("asm", "asm"),
"org.apache.hadoop" % "hadoop-core" % "2.0.0-mr1-cdh4.0.1",
"org.apache.avro" % "avro-mapred" % "1.7.4" classifier "hadoop2")
resolvers ++= Seq("cloudera" at "https://repository.cloudera.com/content/repositories/releases")
publishTo <<= version { v: String =>
val nexus = "https://oss.sonatype.org/"
if (v.trim.endsWith("SNAPSHOT")) Some("snapshots" at nexus + "content/repositories/snapshots")
else Some("staging" at nexus + "service/local/staging/deploy/maven2")
}
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { x => false }
pomExtra := (
<url>http://nicta.github.io/scoobi</url>
<licenses>
<license>
<name>Apache 2.0</name>
<url>http://www.opensource.org/licenses/Apache-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>http://github.com/NICTA/scoobi</url>
<connection>scm:http:http://NICTA@github.com/NICTA/scoobi.git</connection>
</scm>
<developers>
<developer>
<id>etorreborre</id>
<name>Eric Torreborre</name>
<url>http://etorreborre.blogspot.com/</url>
</developer>
</developers>
)
credentials := Seq(Credentials(Path.userHome / ".sbt" / "scoobi.credentials"))
sonatypeSettings