This repository has been archived by the owner on Oct 30, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathbuild.sbt
110 lines (91 loc) · 4.02 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
ghpages.settings
git.remoteRepo := "[email protected]:GravityLabs/HPaste.git"
enablePlugins(SiteScaladocPlugin)
organization := "com.gravity"
name := "gravity-hpaste_2.11"
scalaVersion := "2.11.7"
crossScalaVersions := Seq("2.9.2", "2.9.3", "2.10.0", "2.10.3", "2.11.7")
releaseCrossBuild := true
releasePublishArtifactsAction := PgpKeys.publishSigned.value
javacOptions ++= Seq("-Xlint:unchecked", "-source", "1.7", "-target", "1.7")
scalacOptions ++= Seq("-unchecked", "-deprecation", "-target:jvm-1.7", "-feature", "-language:_")
resolvers += "cloudera" at "https://repository.cloudera.com/artifactory/cloudera-repos/"
libraryDependencies ++= Seq(
"com.google.guava" % "guava" % "12.0.1",
"joda-time" % "joda-time" % "2.3",
"net.sf.trove4j" % "trove4j" % "3.0.3",
"org.apache.hadoop" % "hadoop-client" % "2.6.0-mr1-cdh5.5.2" % "provided",
"org.apache.hbase" % "hbase-client" % "1.0.0-cdh5.5.2" % "provided",
"org.apache.hbase" % "hbase-common" % "1.0.0-cdh5.5.2" % "provided",
"org.apache.hbase" % "hbase-server" % "1.0.0-cdh5.5.2" % "provided",
"org.hbase" % "asynchbase" % "1.7.2" exclude("org.slf4j", "log4j-over-slf4j") exclude("com.google.guava", "guava"),
"junit" % "junit" % "4.8.1",
"com.novocode" % "junit-interface" % "0.10" % "test",
"org.apache.hadoop" % "hadoop-common" % "2.6.0-cdh5.5.2" % "test",
"org.apache.hadoop" % "hadoop-common" % "2.6.0-cdh5.5.2" % "test" classifier "tests",
"org.apache.hadoop" % "hadoop-minicluster" % "2.6.0-mr1-cdh5.5.2" % "test",
"org.apache.hadoop" % "hadoop-hdfs" % "2.6.0-cdh5.5.2" % "test",
"org.apache.hadoop" % "hadoop-hdfs" % "2.6.0-cdh5.5.2" % "test" classifier "tests",
"org.apache.hbase" % "hbase-client" % "1.0.0-cdh5.5.2" % "test" classifier "tests",
"org.apache.hbase" % "hbase-common" % "1.0.0-cdh5.5.2" % "test" classifier "tests",
"org.apache.hbase" % "hbase-hadoop-compat" % "1.0.0-cdh5.5.2" % "test" classifier "tests",
"org.apache.hbase" % "hbase-hadoop2-compat" % "1.0.0-cdh5.5.2" % "test" classifier "tests",
"org.apache.hbase" % "hbase-server" % "1.0.0-cdh5.5.2" % "test" classifier "tests",
"org.apache.hbase" % "hbase-testing-util" % "1.0.0-cdh5.5.2" % "test" exclude("org.jruby", "jruby-complete")
)
testOptions in Test += Tests.Argument(TestFrameworks.ScalaTest, "-oF")
publishMavenStyle := true
publishArtifact in Test := false
autoAPIMappings := true
pomIncludeRepository := { _ => false }
publishTo := {
val nexus = "https://oss.sonatype.org/"
if(isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
pomExtra :=
<url>https://github.com/GravityLabs/HPaste</url>
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
<comments>A business-friendly OSS license</comments>
</license>
</licenses>
<scm>
<url>[email protected]:GravityLabs/HPaste.git</url>
<connection>scm:git:[email protected]:GravityLabs/HPaste.git</connection>
</scm>
<developers>
<developer>
<id>Lemmsjid</id>
<name>Chris Bissell</name>
<email>[email protected]</email>
<url>http://github.com/Lemmsjid</url>
<organization>Gravity</organization>
<organizationUrl>http://www.gravity.com/</organizationUrl>
<roles>
<role>developer</role>
<role>architect</role>
</roles>
<timezone>-8</timezone>
</developer>
<developer>
<id>erraggy</id>
<name>Robbie Coleman</name>
<email>[email protected]</email>
<url>http://robbie.robnrob.com/</url>
<organization>Gravity</organization>
<organizationUrl>http://www.gravity.com/</organizationUrl>
<roles>
<role>developer</role>
</roles>
<timezone>-8</timezone>
<properties>
<picUrl>http://1.gravatar.com/avatar/dc77b368ec1f077dcc4aca3b9c003d2d</picUrl>
</properties>
</developer>
</developers>