You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2016/04/04 18:48:59 UTC

incubator-tinkerpop git commit: Updated docs on grapeConfig.xml

Repository: incubator-tinkerpop
Updated Branches:
  refs/heads/tp31 3dfe3dd7f -> 5bd8f3f2f


Updated docs on grapeConfig.xml


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

Branch: refs/heads/tp31
Commit: 5bd8f3f2f6a049256ac565bcb40ea12e8f45957a
Parents: 3dfe3dd
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Mon Apr 4 12:29:38 2016 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Mon Apr 4 12:29:38 2016 -0400

----------------------------------------------------------------------
 docs/src/reference/gremlin-applications.asciidoc | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/5bd8f3f2/docs/src/reference/gremlin-applications.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/reference/gremlin-applications.asciidoc b/docs/src/reference/gremlin-applications.asciidoc
index 5856b5a..9beae1f 100644
--- a/docs/src/reference/gremlin-applications.asciidoc
+++ b/docs/src/reference/gremlin-applications.asciidoc
@@ -50,25 +50,23 @@ the defaults.  TinkerPop recommends the following configuration in that file:
       </filesystem>
       <ibiblio name="codehaus" root="http://repository.codehaus.org/" m2compatible="true"/>
       <ibiblio name="central" root="http://central.maven.org/maven2/" m2compatible="true"/>
+      <ibiblio name="jitpack" root="https://jitpack.io" m2compatible="true"/>
       <ibiblio name="java.net2" root="http://download.java.net/maven/2/" m2compatible="true"/>
     </chain>
   </resolvers>
 </ivysettings>
 
-Note that if the intention is to work with TinkerPop snapshots then the file should also include.
+The Graph configuration can also be modified to include the local system's Maven `.m2` directory by one or both
+of the following entries:
 
 [source,xml]
 <ibiblio name="apache-snapshots" root="http://repository.apache.org/snapshots/" m2compatible="true"/>
-
-Additionally, the Graph configuration can also be modified to include the local system's Maven `.m2` directory by including:
-
-[source,xml]
 <ibiblio name="local" root="file:${user.home}/.m2/repository/" m2compatible="true"/>
 
-This configuration is useful during development (i.e. if one is working with locally built artifacts) of TinkerPop
-Plugins.  Consider adding the "local" reference first in the set of `<ibilio>` resolvers, as putting it after
-"apache-snapshots" will likely resolve dependencies from that repository before looking locally.  If it does that,
-then it's possible that the artifact from the newer local build will not be used.
+These configurations are useful during development (i.e. if one is working with locally built artifacts) of TinkerPop
+Plugins.  It is important to take note of the order used for these references as Grape will check them in the order
+they are specified and depending on that order, an artifact other than the one expected may be used which is typically
+an issue when working with SNAPSHOT dependencies.
 
 WARNING: If building TinkerPop from source, be sure to clear TinkerPop-related jars from the `~/.groovy/grapes`
 directory as they can become stale on some systems and not re-import properly from the local `.m2` after fresh rebuilds.