From 7e26f8a2cb59d6a6a89ecfd524fa994918e38d37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=BF=97=E8=B1=AA?= Date: Mon, 2 Apr 2018 12:58:30 +0800 Subject: [PATCH] Change organization to com.github.izhangzhihao --- README.md | 2 +- build.sbt | 6 ++---- examples/sbt-assembly-on-yarn/project/plugins.sbt | 2 -- project/plugins.sbt | 2 +- .../sbt-spark-submit/multi-main/project/plugins.sbt | 2 +- .../sbt-spark-submit/multi-project/project/plugins.sbt | 2 +- src/sbt-test/sbt-spark-submit/sparkpi/project/plugins.sbt | 2 +- 7 files changed, 7 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index e1efe6d..cc6ad2b 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ use cases. Please see [below](#define-custom-sparksubmit-task) for more details For sbt 0.13.6+ add sbt-spark-submit to your `project/plugins.sbt` or `~/.sbt/0.13/plugins/plugins.sbt` file: ```scala -addSbtPlugin("com.github.saurfang" % "sbt-spark-submit" % "0.0.4") +addSbtPlugin("com.github.izhangzhihao" % "sbt-spark-submit" % "0.0.4") ``` Naturally you will need to have spark dependency in your project itself such as: diff --git a/build.sbt b/build.sbt index 277f373..dfc700a 100644 --- a/build.sbt +++ b/build.sbt @@ -1,5 +1,5 @@ lazy val commonSettings = Seq( - organization in ThisBuild := "com.github.saurfang", + organization in ThisBuild := "com.github.izhangzhihao", scalaVersion := "2.10.7", javacOptions ++= Seq("-source", "1.8", "-target", "1.8"), scalacOptions ++= Seq("-deprecation", "-feature"), @@ -16,9 +16,7 @@ lazy val root = (project in file(".")). name := "sbt-spark-submit", licenses += ("Apache-2.0", url("https://www.apache.org/licenses/LICENSE-2.0.html")), publishMavenStyle := false, - bintrayRepository := { - if(isSnapshot.value) "sbt-plugin-snapshots" else "sbt-plugin-releases" - }, + bintrayRepository := "sbt-plugin-releases", bintrayOrganization := None ). settings(scriptedSettings: _*). diff --git a/examples/sbt-assembly-on-yarn/project/plugins.sbt b/examples/sbt-assembly-on-yarn/project/plugins.sbt index d7ccbba..f55a526 100644 --- a/examples/sbt-assembly-on-yarn/project/plugins.sbt +++ b/examples/sbt-assembly-on-yarn/project/plugins.sbt @@ -2,6 +2,4 @@ lazy val root = Project("plugins", file(".")).dependsOn(plugin) lazy val plugin = file("../../").getCanonicalFile.toURI -//addSbtPlugin("com.github.saurfang" % "sbt-spark-submit" % "0.0.1") - addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.13.0") diff --git a/project/plugins.sbt b/project/plugins.sbt index 5bab07b..f30c8cf 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,6 +1,6 @@ libraryDependencies += "org.scala-sbt" % "scripted-plugin" % sbtVersion.value -addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.6") +addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.8") addSbtPlugin("org.foundweekends" % "sbt-bintray" % "0.5.4") diff --git a/src/sbt-test/sbt-spark-submit/multi-main/project/plugins.sbt b/src/sbt-test/sbt-spark-submit/multi-main/project/plugins.sbt index d74d7ec..e9c7f91 100644 --- a/src/sbt-test/sbt-spark-submit/multi-main/project/plugins.sbt +++ b/src/sbt-test/sbt-spark-submit/multi-main/project/plugins.sbt @@ -3,5 +3,5 @@ if(pluginVersion == null) throw new RuntimeException("""|The system property 'plugin.version' is not defined. |Specify this property using the scriptedLaunchOpts -D.""".stripMargin) - else addSbtPlugin("com.github.saurfang" % "sbt-spark-submit" % pluginVersion) + else addSbtPlugin("com.github.izhangzhihao" % "sbt-spark-submit" % pluginVersion) } \ No newline at end of file diff --git a/src/sbt-test/sbt-spark-submit/multi-project/project/plugins.sbt b/src/sbt-test/sbt-spark-submit/multi-project/project/plugins.sbt index d74d7ec..e9c7f91 100644 --- a/src/sbt-test/sbt-spark-submit/multi-project/project/plugins.sbt +++ b/src/sbt-test/sbt-spark-submit/multi-project/project/plugins.sbt @@ -3,5 +3,5 @@ if(pluginVersion == null) throw new RuntimeException("""|The system property 'plugin.version' is not defined. |Specify this property using the scriptedLaunchOpts -D.""".stripMargin) - else addSbtPlugin("com.github.saurfang" % "sbt-spark-submit" % pluginVersion) + else addSbtPlugin("com.github.izhangzhihao" % "sbt-spark-submit" % pluginVersion) } \ No newline at end of file diff --git a/src/sbt-test/sbt-spark-submit/sparkpi/project/plugins.sbt b/src/sbt-test/sbt-spark-submit/sparkpi/project/plugins.sbt index d74d7ec..e9c7f91 100644 --- a/src/sbt-test/sbt-spark-submit/sparkpi/project/plugins.sbt +++ b/src/sbt-test/sbt-spark-submit/sparkpi/project/plugins.sbt @@ -3,5 +3,5 @@ if(pluginVersion == null) throw new RuntimeException("""|The system property 'plugin.version' is not defined. |Specify this property using the scriptedLaunchOpts -D.""".stripMargin) - else addSbtPlugin("com.github.saurfang" % "sbt-spark-submit" % pluginVersion) + else addSbtPlugin("com.github.izhangzhihao" % "sbt-spark-submit" % pluginVersion) } \ No newline at end of file