@@ -26,7 +26,8 @@ import sbtrelease.ReleaseStateTransformations._ |
26 | 26 | import sbtrelease.ReleaseStep |
27 | 27 | import scala.util.Properties |
28 | 28 | import com.typesafe.sbt.pgp.PgpKeys |
29 | | -import xerial.sbt.Sonatype.SonatypeKeys._ |
| 29 | +import xerial.sbt.Sonatype |
| 30 | +import Sonatype.SonatypeKeys._ |
30 | 31 |
|
31 | 32 | object Build extends Build { |
32 | 33 |
|
@@ -50,13 +51,6 @@ object Build extends Build { |
50 | 51 | concurrentRestrictions in Global := Seq( |
51 | 52 | Tags.limit(Tags.Test, 1) |
52 | 53 | ), |
53 | | - publishTo := { |
54 | | - val nexus = "https://oss.sonatype.org/" |
55 | | - if (isSnapshot.value) |
56 | | - Some("snapshots" at nexus + "content/repositories/snapshots") |
57 | | - else |
58 | | - Some("releases" at nexus + "service/local/staging/deploy/maven2") |
59 | | - }, |
60 | 54 | ReleaseKeys.tagName <<= (version in ThisBuild) map (v => v), |
61 | 55 | ReleaseKeys.releaseProcess := Seq[ReleaseStep]( |
62 | 56 | checkSnapshotDependencies, |
@@ -95,51 +89,7 @@ object Build extends Build { |
95 | 89 | opts |
96 | 90 | }, |
97 | 91 | findbugsReportType := Some(ReportType.FancyHtml), |
98 | | - findbugsReportPath := Some(crossTarget.value / "findbugs" / "report.html"), |
99 | | - pomExtra := { |
100 | | - <url>http://msgpack.org/</url> |
101 | | - <licenses> |
102 | | - <license> |
103 | | - <name>Apache 2</name> |
104 | | - <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
105 | | - </license> |
106 | | - </licenses> |
107 | | - <scm> |
108 | | - <connection>scm:git:github.com/msgpack/msgpack-java.git</connection> |
109 | | - <developerConnection>scm:git:git@github.com:msgpack/msgpack-java.git</developerConnection> |
110 | | - <url>github.com/msgpack/msgpack-java.git</url> |
111 | | - </scm> |
112 | | - <properties> |
113 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
114 | | - </properties> |
115 | | - <developers> |
116 | | - <developer> |
117 | | - <id>frsyuki</id> |
118 | | - <name>Sadayuki Furuhashi</name> |
119 | | - <email>frsyuki@users.sourceforge.jp</email> |
120 | | - </developer> |
121 | | - <developer> |
122 | | - <id>muga</id> |
123 | | - <name>Muga Nishizawa</name> |
124 | | - <email>muga.nishizawa@gmail.com</email> |
125 | | - </developer> |
126 | | - <developer> |
127 | | - <id>oza</id> |
128 | | - <name>Tsuyoshi Ozawa</name> |
129 | | - <url>https://github.com/oza</url> |
130 | | - </developer> |
131 | | - <developer> |
132 | | - <id>komamitsu</id> |
133 | | - <name>Mitsunori Komatsu</name> |
134 | | - <email>komamitsu@gmail.com</email> |
135 | | - </developer> |
136 | | - <developer> |
137 | | - <id>xerial</id> |
138 | | - <name>Taro L. Saito</name> |
139 | | - <email>leo@xerial.org</email> |
140 | | - </developer> |
141 | | - </developers> |
142 | | - } |
| 92 | + findbugsReportPath := Some(crossTarget.value / "findbugs" / "report.html") |
143 | 93 | ) |
144 | 94 |
|
145 | 95 | import Dependencies._ |
@@ -167,7 +117,7 @@ object Build extends Build { |
167 | 117 | description := "Core library of the MessagePack for Java", |
168 | 118 | libraryDependencies ++= testLib |
169 | 119 | ) |
170 | | - ) |
| 120 | + ).disablePlugins(Sonatype) |
171 | 121 |
|
172 | 122 | lazy val msgpackJackson = Project( |
173 | 123 | id = "msgpack-jackson", |
@@ -178,7 +128,7 @@ object Build extends Build { |
178 | 128 | libraryDependencies ++= jacksonLib, |
179 | 129 | testOptions += Tests.Argument(TestFrameworks.JUnit, "-v") |
180 | 130 | ) |
181 | | - ).dependsOn(msgpackCore) |
| 131 | + ).disablePlugins(Sonatype).dependsOn(msgpackCore) |
182 | 132 |
|
183 | 133 | object Dependencies { |
184 | 134 |
|
|