forked from NICTA/scoobi-compatibility-cdh5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
52 lines (39 loc) · 1.49 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
import SonatypeKeys._
organization := "com.nicta"
name := "scoobi-compatibility-cdh5"
version := "1.0.3"
scalaVersion := "2.10.4"
crossScalaVersions := Seq("2.10.4", "2.11.2")
libraryDependencies ++= Seq("org.apache.hadoop" % "hadoop-client" % "2.2.0-cdh5.0.0-beta-2" exclude("asm", "asm"),
"org.apache.avro" % "avro-mapred" % "1.7.5-cdh5.0.0-beta-2")
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