Skip to content

Commit cc59dc1

Browse files
committed
Upgrade to sbt-0.13.2. Add sbt-pgp plugin to publish to sonatype
1 parent 8f5f487 commit cc59dc1

File tree

4 files changed

+14
-5
lines changed

4 files changed

+14
-5
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<modelVersion>4.0.0</modelVersion>
1212
<groupId>org.msgpack</groupId>
13-
<artifactId>msgpack-root</artifactId>
13+
<artifactId>msgpack-java</artifactId>
1414
<version>0.7.0-SNAPSHOT</version>
1515
<packaging>pom</packaging>
1616

project/Build.scala

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,23 @@ import xerial.sbt.Sonatype._
2222
import de.johoop.findbugs4sbt.FindBugs._
2323
import de.johoop.jacoco4sbt._
2424
import JacocoPlugin._
25+
import sbtrelease.ReleasePlugin._
2526

2627
object Build extends Build {
2728

2829
val SCALA_VERSION = "2.10.3"
2930

30-
lazy val buildSettings = Defaults.defaultSettings ++ findbugsSettings ++ jacoco.settings ++
31+
lazy val buildSettings = Defaults.defaultSettings ++
32+
releaseSettings ++
33+
findbugsSettings ++
34+
jacoco.settings ++
35+
sonatypeSettings ++
3136
Seq[Setting[_]](
3237
organization := "org.msgpack",
3338
organizationName := "MessagePack",
3439
organizationHomepage := Some(new URL("http://msgpack.org/")),
3540
description := "MessagePack for Java",
3641
scalaVersion in Global := SCALA_VERSION,
37-
sbtVersion in Global := "0.13.2-M1",
3842
logBuffered in Test := false,
3943
//parallelExecution in Test := false,
4044
autoScalaLibrary := false,
@@ -80,6 +84,9 @@ object Build extends Build {
8084
findbugs := {
8185
// do not run findbugs for the root project
8286
}
87+
// Do not publish root project
88+
//publish := {},
89+
//publishLocal := {}
8390
)
8491
) aggregate(msgpackCore, msgpackValue)
8592

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
sbt.version=0.13.2-M3
1+
sbt.version=0.13.2
22

project/plugins.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11

22
addSbtPlugin("com.github.gseitz" % "sbt-release" % "0.7.1")
33

4-
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "0.2.0")
4+
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "0.2.1")
5+
6+
addSbtPlugin("com.typesafe.sbt" % "sbt-pgp" % "0.8.1")
57

68
addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.6.0")
79

0 commit comments

Comments
 (0)