geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jasonhu...@apache.org
Subject [06/13] incubator-geode git commit: GEODE-101 Resolve Geode Spark Connector Build Issues
Date Mon, 27 Jul 2015 21:43:03 GMT
GEODE-101 Resolve Geode Spark Connector Build Issues


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

Branch: refs/heads/develop
Commit: 27933651b28302f61558000752b84c475b4ecd9d
Parents: 85d44f0
Author: Jianxia Chen <jchen21@apache.org>
Authored: Mon Jul 13 15:51:36 2015 -0700
Committer: Jianxia Chen <jchen21@apache.org>
Committed: Mon Jul 13 15:51:36 2015 -0700

----------------------------------------------------------------------
 gemfire-spark-connector/doc/1_building.md          | 6 ++++++
 gemfire-spark-connector/project/Dependencies.scala | 2 +-
 gemfire-spark-connector/project/Settings.scala     | 1 -
 3 files changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/27933651/gemfire-spark-connector/doc/1_building.md
----------------------------------------------------------------------
diff --git a/gemfire-spark-connector/doc/1_building.md b/gemfire-spark-connector/doc/1_building.md
index ece4a9c..007d9f1 100644
--- a/gemfire-spark-connector/doc/1_building.md
+++ b/gemfire-spark-connector/doc/1_building.md
@@ -4,6 +4,12 @@ You will need Scala 2.10 and sbt 0.13.5 to 0.13.7.
 
 ### Building Artifacts
 
+To build against Apache Geode, you need to build Geode first and publish the jars
+to local repository. In the root of Geode directory, run:
+
+./gradlew clean build -Dskip.tests=true
+./gradlew publishToMavenLocal
+
 In the root directory of connector project, run:
 ```
 sbt clean package

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/27933651/gemfire-spark-connector/project/Dependencies.scala
----------------------------------------------------------------------
diff --git a/gemfire-spark-connector/project/Dependencies.scala b/gemfire-spark-connector/project/Dependencies.scala
index 899e182..25a64f1 100644
--- a/gemfire-spark-connector/project/Dependencies.scala
+++ b/gemfire-spark-connector/project/Dependencies.scala
@@ -6,7 +6,7 @@ object Dependencies {
   object Compile {
     val sparkStreaming = "org.apache.spark" %% "spark-streaming" % "1.3.0" 
     val sparkSql = "org.apache.spark" %% "spark-sql" % "1.3.0"
-    val gemfire = "com.gemstone.gemfire" % "gemfire" % "9.0.Beta-SNAPSHOT"
+    val gemfire = "org.apache.geode" % "gemfire-core" % "1.0.0-incubating-SNAPSHOT" excludeAll(ExclusionRule(organization
= "org.jboss.netty") )
   }
 
   object Test {

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/27933651/gemfire-spark-connector/project/Settings.scala
----------------------------------------------------------------------
diff --git a/gemfire-spark-connector/project/Settings.scala b/gemfire-spark-connector/project/Settings.scala
index ec61884..6d0a8bb 100644
--- a/gemfire-spark-connector/project/Settings.scala
+++ b/gemfire-spark-connector/project/Settings.scala
@@ -13,7 +13,6 @@ object Settings extends Build {
   ) 
 
   lazy val gfcResolvers = Seq(
-  "GemStone Snapshots" at "http://nexus.gemstone.com:8081/nexus/content/repositories/snapshots/",
    //"GemStone Official Release" at "http://dist.gemstone.com/maven/release",
   "Repo for JLine" at "http://repo.springsource.org/libs-release",
   "Local Maven" at Path.userHome.asFile.toURI.toURL + ".m2/repository"


Mime
View raw message