-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpublish.sbt
35 lines (31 loc) · 1.03 KB
/
publish.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
publishMavenStyle := true
publishArtifact in Test := false
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 := { x => false }
pomExtra := (
<scm>
<url>https://github.com/gnieh/spray-session</url>
<connection>scm:git:git://github.com/gnieh/spray-session.git</connection>
<developerConnection>scm:git:[email protected]:gnieh/spray-session.git</developerConnection>
<tag>HEAD</tag>
</scm>
<developers>
<developer>
<id>satabin</id>
<name>Lucas Satabin</name>
<email>[email protected]</email>
</developer>
</developers>
<ciManagement>
<system>travis</system>
<url>https://travis-ci.org/#!/gnieh/spray-session</url>
</ciManagement>
<issueManagement>
<system>github</system>
<url>https://github.com/gnieh/spray-session/issues</url>
</issueManagement>
)