-
Notifications
You must be signed in to change notification settings - Fork 17
/
build.sbt
66 lines (52 loc) · 1.69 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
// Project info
name := "play-mongo-jackson-mapper"
organization := "net.vz.mongodb.jackson"
// The version comes from version.sbt, and is generated by the release plugin
scalaVersion := "2.10.0"
// Dependencies
libraryDependencies ++= Seq(
"net.vz.mongodb.jackson" % "mongo-jackson-mapper" % "1.4.1",
"play" %% "play" % "2.1.0" % "provided"
)
// Test dependencies
libraryDependencies ++= Seq(
"org.specs2" %% "specs2" % "1.13" % "test",
"play" %% "play-test" % "2.1.0" % "test"
)
// Configuration required for deploying to sonatype
publishMavenStyle := true
publishTo <<= version { (v: String) =>
val nexus = "https://oss.sonatype.org/"
if (v.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
pomIncludeRepository := { _ => false }
publishArtifact in Test := false
pomExtra := (
<url>http://github.com/vznet/play-mongo-jackson-mapper</url>
<inceptionYear>2012</inceptionYear>
<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]:vznet/play-mongo-jackson-mapper.git</url>
<connection>scm:git:[email protected]:vznet/play-mongo-jackson-mapper.git</connection>
</scm>
<developers>
<developer>
<name>James Roper</name>
<email>[email protected]</email>
<url>http://jazzy.id.au</url>
<roles>
<role>Author</role>
</roles>
<organization>VZ Netzwerke</organization>
</developer>
</developers>)