Skip to content
Snippets Groups Projects
Commit cce56835 authored by Matei Zaharia's avatar Matei Zaharia
Browse files

Comment out Sonatype publishing stuff so publish-local works

parent 95a435cd
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ import sbt._ ...@@ -2,7 +2,7 @@ import sbt._
import Keys._ import Keys._
import sbtassembly.Plugin._ import sbtassembly.Plugin._
import AssemblyKeys._ import AssemblyKeys._
import com.jsuereth.pgp.sbtplugin.PgpKeys._ //import com.jsuereth.pgp.sbtplugin.PgpKeys._
object SparkBuild extends Build { object SparkBuild extends Build {
// Hadoop version to build against. For example, "0.20.2", "0.20.205.0", or // Hadoop version to build against. For example, "0.20.2", "0.20.205.0", or
...@@ -38,6 +38,7 @@ object SparkBuild extends Build { ...@@ -38,6 +38,7 @@ object SparkBuild extends Build {
parallelExecution := false, parallelExecution := false,
/* Sonatype publishing settings */ /* Sonatype publishing settings */
/*
resolvers ++= Seq("sonatype-snapshots" at "https://oss.sonatype.org/content/repositories/snapshots", resolvers ++= Seq("sonatype-snapshots" at "https://oss.sonatype.org/content/repositories/snapshots",
"sonatype-staging" at "https://oss.sonatype.org/service/local/staging/deploy/maven2/"), "sonatype-staging" at "https://oss.sonatype.org/service/local/staging/deploy/maven2/"),
publishMavenStyle := true, publishMavenStyle := true,
...@@ -76,6 +77,7 @@ object SparkBuild extends Build { ...@@ -76,6 +77,7 @@ object SparkBuild extends Build {
}, },
credentials += Credentials(Path.userHome / ".sbt" / "sonatype.credentials"), credentials += Credentials(Path.userHome / ".sbt" / "sonatype.credentials"),
*/
/* Workaround for issue #206 (fixed after SBT 0.11.0) */ /* Workaround for issue #206 (fixed after SBT 0.11.0) */
watchTransitiveSources <<= Defaults.inDependencies[Task[Seq[File]]](watchSources.task, watchTransitiveSources <<= Defaults.inDependencies[Task[Seq[File]]](watchSources.task,
......
...@@ -4,7 +4,7 @@ resolvers ++= Seq( ...@@ -4,7 +4,7 @@ resolvers ++= Seq(
Resolver.url("sbt-plugin-releases", new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/"))(Resolver.ivyStylePatterns) Resolver.url("sbt-plugin-releases", new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/"))(Resolver.ivyStylePatterns)
) )
addSbtPlugin("com.jsuereth" % "xsbt-gpg-plugin" % "0.6") //addSbtPlugin("com.jsuereth" % "xsbt-gpg-plugin" % "0.6")
addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.0.0") addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.0.0")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment