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/adac3a64 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/adac3a64 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/adac3a64 Branch: refs/heads/TINKERPOP-1489 Commit: adac3a6460966c58aec4a31ff2e923586740e175 Parents: cdd114c Author: Jorge Bay Gondra <jorgebaygon...@gmail.com> Authored: Thu Nov 30 16:05:10 2017 +0100 Committer: Jorge Bay Gondra <jorgebaygon...@gmail.com> Committed: Wed Jan 17 16:16:22 2018 +0100 ---------------------------------------------------------------------- gremlin-javascript/pom.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/adac3a64/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>