aboutsummaryrefslogtreecommitdiff
path: root/build.sbt
diff options
context:
space:
mode:
Diffstat (limited to 'build.sbt')
-rw-r--r--build.sbt11
1 files changed, 1 insertions, 10 deletions
diff --git a/build.sbt b/build.sbt
index 8c5aa8b5..9a4e6409 100644
--- a/build.sbt
+++ b/build.sbt
@@ -90,7 +90,7 @@ lazy val antlrSettings = Seq(
)
lazy val publishSettings = Seq(
- publishMavenStyle := true,
+ // publishMavenStyle and publishTo handled by sbt-ci-release
publishArtifact in Test := false,
pomIncludeRepository := { x => false },
// Don't add 'scm' elements if we have a git.remoteRepo definition,
@@ -114,15 +114,6 @@ lazy val publishSettings = Seq(
<url>http://www.eecs.berkeley.edu/~jrb/</url>
</developer>
</developers>,
- publishTo := {
- val v = version.value
- 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")
- }
- }
)