Dave Bechberger created TINKERPOP-2670:
------------------------------------------
Summary: JavaDocs do not build when using JDK 11
Key: TINKERPOP-2670
URL: https://issues.apache.org/jira/browse/TINKERPOP-2670
Project: TinkerPop
Issue Type: Bug
Affects Versions: 3.6.0
Reporter: Dave Bechberger
When using JDK 11 building the JavaDocs throws an error both when running
locally as well as when running in Docker.
{{An abbreviated error example is shown below:}}
{{}}
{code:java}
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-javadoc-plugin:3.3.1:javadoc
(aggregate-full-in-default-lifecycle) on project tinkerpop: An error has
occurred in Javadoc report generation:
[ERROR] Exit code: 1 -
/home/ubuntu/bechbd/tinkerpop/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/grammar/GremlinBaseVisitor.java:21:
error: package org.antlr.v4.runtime.tree does not exist
[ERROR] import org.antlr.v4.runtime.tree.AbstractParseTreeVisitor;
[ERROR] ^
[ERROR]
/home/ubuntu/bechbd/tinkerpop/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/grammar/GremlinBaseVisitor.java:22:
error: package org.antlr.v4.runtime.tree does not exist
[ERROR] import org.antlr.v4.runtime.tree.ParseTree;
[ERROR] ^
[ERROR]
/home/ubuntu/bechbd/tinkerpop/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/grammar/GremlinBaseVisitor.java:32:
error: cannot find symbol
[ERROR] public class GremlinBaseVisitor<T> extends AbstractParseTreeVisitor<T>
implements GremlinVisitor<T> {
[ERROR] ^
[ERROR] symbol: class AbstractParseTreeVisitor
[ERROR]
/home/ubuntu/bechbd/tinkerpop/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/grammar/GremlinBaseVisitor.java:32:
error: cannot find symbol
[ERROR] public class GremlinBaseVisitor<T> extends AbstractParseTreeVisitor<T>
implements GremlinVisitor<T> {
[ERROR] ^
[ERROR] symbol: class GremlinVisitor
[ERROR]
/home/ubuntu/bechbd/tinkerpop/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/Traversal.java:21:
error: package org.apache.commons.configuration2 does not exist
[ERROR] import org.apache.commons.configuration2.Configuration;
[ERROR] ^
[ERROR]
/home/ubuntu/bechbd/tinkerpop/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/grammar/TraversalTerminalMethodVisitor.java:39:
error: package GremlinParser does not exist
[ERROR] public Object visitTraversalTerminalMethod(final
GremlinParser.TraversalTerminalMethodContext ctx) {
[ERROR]{code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)