-
Notifications
You must be signed in to change notification settings - Fork 40
/
sonatype.sbt
37 lines (32 loc) · 1.04 KB
/
sonatype.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
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (version.value.trim.endsWith("SNAPSHOT")) Some("snapshots" at nexus + "content/repositories/snapshots")
else Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
// Random stuff sonatype wants
pomExtra := (
<url>http://www.github.com/socrata/soda-java</url>
<licenses>
<license>
<name>The MIT License (MIT)</name>
<url>http://opensource.org/licenses/mit-license.php</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<connection>scm:git:[email protected]:socrata/soda-java.git</connection>
<url>https://github.com/socrata/soda-java</url>
</scm>
<developers>
<developer>
<name>Will Pugh</name>
<email>[email protected]</email>
<organization>Socrata</organization>
</developer>
</developers>
)
// Random stuff sonatype does not want
pomIncludeRepository := { _ => false }
// These are the defaults, but set them manually just in case
publishMavenStyle := true
Test/publishArtifact := false