You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by on...@apache.org on 2020/07/31 22:58:13 UTC

[geode-examples] branch develop updated (744083f -> 3362a45)

This is an automated email from the ASF dual-hosted git repository.

onichols pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-examples.git.


    from 744083f  Simplify fetch of Geode artifacts. Reset geode version re: GEODE-8016
     new 54e8d5b  restore mavenCentral as a fallback so that geodeVersion alone can be used to select either release or snapshot builds
     new 3362a45  Update README with instructions to check out correct tag, now that develop is the default branch

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 README.md    | 7 ++++++-
 build.gradle | 7 +------
 2 files changed, 7 insertions(+), 7 deletions(-)


[geode-examples] 01/02: restore mavenCentral as a fallback so that geodeVersion alone can be used to select either release or snapshot builds

Posted by on...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

onichols pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-examples.git

commit 54e8d5b10053340bc507d8fba30725d62338f148
Author: Owen Nichols <on...@pivotal.io>
AuthorDate: Fri Jul 31 15:34:35 2020 -0700

    restore mavenCentral as a fallback so that geodeVersion alone can be used to select either release or snapshot builds
---
 build.gradle | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/build.gradle b/build.gradle
index 1f2cfce..77acecf 100644
--- a/build.gradle
+++ b/build.gradle
@@ -23,12 +23,6 @@ plugins {
 
 allprojects {
     repositories {
-        mavenCentral() {
-          content {
-            excludeGroup 'org.apache.geode'
-          }
-        }
-
         if (!gradle.usingGeodeCompositeBuild) {
           maven {
             url project.findProperty('geodeRepositoryUrl') ?: 'https://maven.apachegeode-ci.info/snapshots'
@@ -37,6 +31,7 @@ allprojects {
             }
           }
         }
+        mavenCentral()
     }
 }
 


[geode-examples] 02/02: Update README with instructions to check out correct tag, now that develop is the default branch

Posted by on...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

onichols pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-examples.git

commit 3362a4541bb00884fd3036bb74f36a2afc518713
Author: Owen Nichols <on...@pivotal.io>
AuthorDate: Fri Jul 31 15:00:53 2020 -0700

    Update README with instructions to check out correct tag, now that develop is the default branch
---
 README.md | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 0c8a667..9046cf3 100644
--- a/README.md
+++ b/README.md
@@ -28,7 +28,11 @@ or submit a [pull request](https://github.com/apache/geode/pull/new/develop).
 
 # Apache Geode Version
 
-Check out the master branch to run examples against the latest geode release.
+Geode client code must link against the _same or older_ version of Geode as the Geode server it will connect to.
+
+Add `-PgeodeRepositoryUrl= -PgeodeVersion=1.12.0` to your `./gradlew` command to specify which Geode client libraries to link, otherwise the default may be too new.
+
+If the latest examples don't compile with your preferred version of Geode, use `git tag` to list the available versions, then check out a suitable tag e.g. `git checkout rel/v1.12.0`.
 
 ## Running an example
 
@@ -48,6 +52,7 @@ usage:
     $ ./gradlew :replicated:run
     $ ./gradlew :replicated:stop
     $ ./gradlew runAll
+    $ ./gradlew runAll -PgeodeRepositoryUrl= -PgeodeVersion=1.12.0
 
 ## Catalog of examples