-
Notifications
You must be signed in to change notification settings - Fork 8
/
build.sbt
60 lines (48 loc) · 1.7 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
useGpg := true
sbtPlugin := true
name := "sbt-cxf"
organization := "no.arktekk.sbt"
scalaVersion := "2.10.5"
scriptedSettings
scriptedLaunchOpts := { scriptedLaunchOpts.value ++
Seq("-Xmx1024M", "-XX:MaxPermSize=256M", "-Dplugin.version=" + (version in ThisBuild).value)
}
credentials += Credentials(Path.userHome / ".sbt" / "arktekk-credentials")
publishTo <<= (version) { version: String =>
if (version.trim.endsWith("SNAPSHOT"))
Some("Sonatype Nexus Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots")
else
Some("Sonatype Nexus Staging" at "https://oss.sonatype.org/service/local/staging/deploy/maven2")
}
homepage := Some(new URL("http://github.com/arktekk/sbt-cxf"))
startYear := Some(2011)
licenses := Seq(("Apache 2", new URL("http://www.apache.org/licenses/LICENSE-2.0.txt")))
pomExtra <<= (pomExtra, name, description) {(pom, name, desc) => pom ++ xml.Group(
<scm>
<url>http://github.com/arktekk/sbt-cxf</url>
<connection>scm:git:git://github.com/arktekk/sbt-cxf.git</connection>
<developerConnection>scm:git:git@github.com:arktekk/sbt-cxf.git</developerConnection>
</scm>
<developers>
<developer>
<id>trygvis</id>
<name>Trygve Laugstøl</name>
<url>http://twitter.com/trygvis</url>
</developer>
<developer>
<id>jteigen</id>
<name>Jon Anders Teigen</name>
<url>http://twitter.com/jteigen</url>
</developer>
<developer>
<id>thoraage</id>
<name>Thor Åge Eldby</name>
<url>https://twitter.com/thoraageeldby</url>
</developer>
<developer>
<id>hamnis</id>
<name>Erlend Hamnaberg</name>
<url>https://twitter.com/hamnis</url>
</developer>
</developers>
)}