You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gearpump.apache.org by ma...@apache.org on 2016/09/14 01:46:57 UTC

incubator-gearpump git commit: fix GEARPUMP-189 Update project/Build.scala to enable publishing rele…

Repository: incubator-gearpump
Updated Branches:
  refs/heads/master 42c7d9dda -> 715f4cbd2


fix GEARPUMP-189 Update project/Build.scala to enable publishing rele\u2026

\u2026ases to https://repository.apache.org/content/repositories/releases/org/apache/gearpump/

Author: Kam Kasravi <ka...@yahoo.com>

Closes #75 from kkasravi/GEARPUMP-189.


Project: http://git-wip-us.apache.org/repos/asf/incubator-gearpump/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-gearpump/commit/715f4cbd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-gearpump/tree/715f4cbd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-gearpump/diff/715f4cbd

Branch: refs/heads/master
Commit: 715f4cbd2b9fb1ac9912f30df4a51271692256ac
Parents: 42c7d9d
Author: Kam Kasravi <ka...@yahoo.com>
Authored: Wed Sep 14 09:46:44 2016 +0800
Committer: manuzhang <ow...@gmail.com>
Committed: Wed Sep 14 09:46:44 2016 +0800

----------------------------------------------------------------------
 project/Build.scala | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-gearpump/blob/715f4cbd/project/Build.scala
----------------------------------------------------------------------
diff --git a/project/Build.scala b/project/Build.scala
index 4ce3053..17e78df 100644
--- a/project/Build.scala
+++ b/project/Build.scala
@@ -36,6 +36,7 @@ object Build extends sbt.Build {
   val copySharedSourceFiles = TaskKey[Unit]("copied shared services source code")
 
   val akkaVersion = "2.4.3"
+  val apacheRepo = "https://repository.apache.org/"
   val hadoopVersion = "2.6.0"
   val hbaseVersion = "1.0.0"
   val commonsHttpVersion = "3.1"
@@ -100,11 +101,10 @@ object Build extends sbt.Build {
       pomIncludeRepository := { _ => false },
 
       publishTo := {
-        val nexus = "https://repository.apache.org/"
         if (isSnapshot.value) {
-          Some("snapshots" at nexus + "content/repositories/snapshots")
+          Some("snapshots" at apacheRepo + "content/repositories/snapshots")
         } else {
-          Some("releases" at nexus + "service/local/staging/deploy/maven2")
+          Some("releases" at apacheRepo + "content/repositories/releases")
         }
       },