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 2018/02/01 15:30:28 UTC

[17/50] [abbrv] tinkerpop git commit: Adjust pom.xml to be forward compatible

Adjust pom.xml to be forward compatible


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

Branch: refs/heads/TINKERPOP-1857
Commit: 843a727d255f33720df029a89ad701e3f18eae25
Parents: d458f76
Author: Jorge Bay Gondra <jo...@gmail.com>
Authored: Thu Nov 30 16:05:10 2017 +0100
Committer: Jorge Bay Gondra <jo...@gmail.com>
Committed: Fri Jan 19 09:30:17 2018 +0100

----------------------------------------------------------------------
 gremlin-javascript/pom.xml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/843a727d/gremlin-javascript/pom.xml
----------------------------------------------------------------------
diff --git a/gremlin-javascript/pom.xml b/gremlin-javascript/pom.xml
index 830052b..aa219ab 100644
--- a/gremlin-javascript/pom.xml
+++ b/gremlin-javascript/pom.xml
@@ -150,7 +150,8 @@ def binding = ["enums": CoreImports.getClassImports()
                                         findAll { GraphTraversalSource.class.equals(it.returnType) }.
                                         findAll {
                                             !it.name.equals("clone") &&
-                                                    !it.name.equals(TraversalSource.Symbols.withBindings) &&
+                                                    // Use hardcoded name to be for forward-compatibility
+                                                    !it.name.equals("withBindings") &&
                                                     !it.name.equals(TraversalSource.Symbols.withRemote) &&
                                                     !it.name.equals(TraversalSource.Symbols.withComputer)
                                         }.
@@ -223,6 +224,10 @@ packageJsonFile.newWriter().withWriter{ it << packageJsonTemplate }
                                     <name>executionName</name>
                                     <value>${project.name}</value>
                                 </property>
+                                <property>
+                                    <name>projectBaseDir</name>
+                                    <value>${project.basedir}</value>
+                                </property>
                             </properties>
                             <scripts>
                                 <script>${gremlin.server.dir}/src/test/scripts/test-server-start.groovy</script>