forked from fayvor/elastic4s
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
79 lines (53 loc) · 2.28 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
name := "elastic4s"
organization := "com.sksamuel.elastic4s"
version := "0.90.9.0.oa.1"
scalaVersion := "2.10.3"
scalacOptions := Seq("-unchecked", "-deprecation", "-encoding", "utf8")
publishMavenStyle := true
javacOptions ++= Seq("-source", "1.6", "-target", "1.6")
credentials += Credentials(Path.userHome / ".ivy2" / ".credentials")
publishTo <<= version {
(v: String) =>
val nexus = "http://nexus.openaura.net/nexus/"
if (v.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "content/repositories/releases")
}
publishArtifact in Test := false
parallelExecution in Test := false
libraryDependencies += "com.fasterxml.jackson.core" % "jackson-core" % "2.1.3"
libraryDependencies += "com.fasterxml.jackson.core" % "jackson-databind" % "2.1.3"
libraryDependencies += "com.fasterxml.jackson.jaxrs" % "jackson-jaxrs-json-provider" % "2.1.3"
libraryDependencies += "com.fasterxml.jackson.datatype" % "jackson-datatype-hibernate4" % "2.1.2"
libraryDependencies += "com.fasterxml.jackson.module" % "jackson-module-scala_2.10" % "2.1.3" exclude("org.scalatest", "scalatest_2.10.0")
libraryDependencies += "org.slf4j" % "slf4j-api" % "1.6.6"
libraryDependencies += "log4j" % "log4j" % "1.2.17" % "test"
libraryDependencies += "org.slf4j" % "log4j-over-slf4j" % "1.6.6" % "test"
libraryDependencies += "commons-io" % "commons-io" % "2.4"
libraryDependencies += "org.mockito" % "mockito-all" % "1.9.5" % "test"
libraryDependencies += "org.elasticsearch" % "elasticsearch" % "0.90.9"
libraryDependencies += "org.scalatest" % "scalatest_2.10" % "2.0.M6-SNAP36" % "test"
ScoverageSbtPlugin.instrumentSettings
CoverallsPlugin.singleProject
pomExtra := {
<url>https://github.com/sksamuel/elastic4s</url>
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:sksamuel/elastic4s.git</url>
<connection>scm:[email protected]:sksamuel/elastic4s.git</connection>
</scm>
<developers>
<developer>
<id>sksamuel</id>
<name>sksamuel</name>
<url>http://github.com/elastic4s</url>
</developer>
</developers>
}