-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
69 lines (54 loc) · 2.04 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
name := "fourarms"
organization := "com.pongr"
scalaVersion := "2.9.1"
resolvers ++= Seq(
"Typesafe" at "http://repo.typesafe.com/typesafe/releases"
)
libraryDependencies ++= Seq(
"org.clapper" %% "grizzled-slf4j" % "0.6.9",
"ch.qos.logback" % "logback-classic" % "1.0.6",
"org.apache.james" % "apache-mailet-base" % "1.1",
"commons-lang" % "commons-lang" % "2.5",
"commons-io" % "commons-io" % "1.3.2",
"com.amazonaws" % "aws-java-sdk" % "1.3.10",
"com.rabbitmq" % "amqp-client" % "2.8.2",
"org.specs2" %% "specs2" % "1.11" % "test",
"org.mockito" % "mockito-all" % "1.9.0" % "test",
"org.apache.james" % "james-server-core" % "3.0-beta3" % "test",
"com.yammer.metrics" % "metrics-core" % "2.1.2",
"com.yammer.metrics" % "metrics-graphite" % "2.1.2"
)
seq(sbtrelease.Release.releaseSettings: _*)
//http://www.scala-sbt.org/using_sonatype.html
//https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide
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/")
}
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
licenses := Seq("Apache-2.0" -> url("http://opensource.org/licenses/Apache-2.0"))
homepage := Some(url("http://github.com/pongr/fourarms"))
organizationName := "Pongr"
organizationHomepage := Some(url("http://pongr.com"))
description := "A collection of Scala-based mailets and matchers for Apache James"
pomExtra := (
<scm>
<url>git@github.com:pongr/fourarms.git</url>
<connection>scm:git:git@github.com:pongr/fourarms.git</connection>
</scm>
<developers>
<developer>
<id>pcetsogtoo</id>
<name>Byamba Tumurkhuu</name>
<url>http://pongr.com</url>
</developer>
<developer>
<id>zcox</id>
<name>Zach Cox</name>
<url>http://theza.ch</url>
</developer>
</developers>
)