-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.sbt
56 lines (39 loc) · 1.43 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
organization := "org.cphylabs"
name := "hbridge"
version := "1.1.11-SNAPSHOT"
scalaVersion := "2.10.0"
retrieveManaged := true
externalResolvers <<= resolvers map { rs =>
Resolver.withDefaultResolvers(rs, mavenCentral = false)
}
resolvers += "CPhy-Artifactory" at "https://cloudphysics.artifactoryonline.com/cloudphysics/releases/"
resolvers += "CPhy-Hadoop-EMR" at "https://cloudphysics.artifactoryonline.com/cloudphysics/hadoop-emr/"
libraryDependencies ++= Seq(
"org.apache.hadoop" % "hadoop-client" % "2.4.0" exclude("org.slf4j", "slf4j-log4j12"),
"org.apache.hbase" % "hbase" % "0.94.18-emr" exclude("org.slf4j", "slf4j-log4j12"),
"com.amazonaws" % "aws-java-sdk" % "1.9.34",
"org.clapper" % "grizzled-slf4j_2.10" % "1.0.1",
"joda-time" % "joda-time" % "2.0",
"org.joda" % "joda-convert" % "1.1"
)
/* publishing */
publishMavenStyle := true
publishTo <<= version { (v: String) =>
val cphy = "https://cloudphysics.artifactoryonline.com/cloudphysics/"
if (v.trim.endsWith("SNAPSHOT")) Some(
"cphy snapshots" at cphy + "oss-snapshots-local"
)
else Some("releases" at cphy + "oss-releases-local")
}
credentials += Credentials(Path.userHome / ".ivy2" / ".credentials")
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
pomExtra := (
<developers>
<developer>
<id>cphy</id>
<name>CloudPhysics Inc</name>
<email>[email protected]</email>
</developer>
</developers>
)