forked from earldouglas/sbt-war
-
Notifications
You must be signed in to change notification settings - Fork 0
/
publish.sbt
42 lines (39 loc) · 1.21 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
36
37
38
39
40
41
42
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 }
pomExtra := (
<url>https://github.com/JamesEarlDouglas/xsbt-web-plugin</url>
<licenses>
<license>
<name>BSD 3-Clause</name>
<url>https://github.com/JamesEarlDouglas/xsbt-web-plugin/blob/master/LICENSE</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:JamesEarlDouglas/xsbt-web-plugin.git</url>
<connection>scm:git:[email protected]:JamesEarlDouglas/xsbt-web-plugin.git</connection>
</scm>
<developers>
<developer>
<id>siasia</id>
<name>Artyom Olshevskiy</name>
<url>http://github.com/siasia</url>
</developer>
<developer>
<id>JamesEarlDouglas</id>
<name>James Earl Douglas</name>
<url>https://github.com/JamesEarlDouglas</url>
</developer>
<developer>
<id>cdow</id>
<name>cdow</name>
<url>https://github.com/cdow</url>
</developer>
</developers>)