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/cc07fd3d
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/cc07fd3d
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/cc07fd3d

Branch: refs/heads/TINKERPOP-1489
Commit: cc07fd3d0006903e844c9f1a771c7e10e4c8a67f
Parents: 87e0214
Author: Jorge Bay Gondra <jorgebaygon...@gmail.com>
Authored: Thu Nov 30 16:05:10 2017 +0100
Committer: Jorge Bay Gondra <jorgebaygon...@gmail.com>
Committed: Mon Jan 8 11:30:49 2018 +0100

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


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/cc07fd3d/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>

Reply via email to