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

Comment out PGP stuff for publish-local to work

parent 1f06445b
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ import sbtassembly.Plugin._ ...@@ -5,7 +5,7 @@ import sbtassembly.Plugin._
import AssemblyKeys._ import AssemblyKeys._
import twirl.sbt.TwirlPlugin._ import twirl.sbt.TwirlPlugin._
// For Sonatype publishing // For Sonatype publishing
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
...@@ -42,7 +42,7 @@ object SparkBuild extends Build { ...@@ -42,7 +42,7 @@ object SparkBuild extends Build {
publishMavenStyle := true, publishMavenStyle := true,
useGpg in Global := true, //useGpg in Global := true,
pomExtra := ( pomExtra := (
<url>http://spark-project.org/</url> <url>http://spark-project.org/</url>
...@@ -69,6 +69,7 @@ object SparkBuild extends Build { ...@@ -69,6 +69,7 @@ object SparkBuild extends Build {
</developers> </developers>
), ),
/*
publishTo <<= version { (v: String) => publishTo <<= version { (v: String) =>
val nexus = "https://oss.sonatype.org/" val nexus = "https://oss.sonatype.org/"
if (v.trim.endsWith("SNAPSHOT")) if (v.trim.endsWith("SNAPSHOT"))
...@@ -78,6 +79,7 @@ object SparkBuild extends Build { ...@@ -78,6 +79,7 @@ object SparkBuild extends Build {
}, },
credentials += Credentials(Path.userHome / ".sbt" / "sonatype.credentials"), credentials += Credentials(Path.userHome / ".sbt" / "sonatype.credentials"),
*/
libraryDependencies ++= Seq( libraryDependencies ++= Seq(
"org.eclipse.jetty" % "jetty-server" % "7.5.3.v20111011", "org.eclipse.jetty" % "jetty-server" % "7.5.3.v20111011",
......
...@@ -13,6 +13,6 @@ addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.0.0") ...@@ -13,6 +13,6 @@ addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.0.0")
addSbtPlugin("cc.spray" %% "sbt-twirl" % "0.5.2") addSbtPlugin("cc.spray" %% "sbt-twirl" % "0.5.2")
// For Sonatype publishing // For Sonatype publishing
resolvers += Resolver.url("sbt-plugin-releases", new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/"))(Resolver.ivyStylePatterns) //resolvers += 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")
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