[ 
https://issues.apache.org/jira/browse/PHOENIX-6922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17713386#comment-17713386
 ] 

Istvan Toth commented on PHOENIX-6922:
--------------------------------------

The only solution I can see that doesn't rely on some extremely horrible hack 
is to use some other javadoc generation tool and plugin, like scaladoc.
There is not much there that end users would find useful, so for now I'm just 
going to disable Javadoc generation for Java versions above 8.

> Javadoc failure while building connectors with Java 11
> ------------------------------------------------------
>
>                 Key: PHOENIX-6922
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6922
>             Project: Phoenix
>          Issue Type: Bug
>          Components: connectors, spark-connector
>            Reporter: Istvan Toth
>            Assignee: Istvan Toth
>            Priority: Major
>
> {noformat}
> mvn clean verify -am -pl phoenix5-spark3-it/ -Dscala-tests-enabled
> ...
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:jar (attach-javadocs) on 
> project phoenix5-spark3: MavenReportException: Error while generating 
> Javadoc: 
> [ERROR] Exit code: 1 - 
> /home/stoty/workspaces/apache-phoenix/phoenix-connectors/phoenix5-spark3/src/main/java/org/apache/phoenix/spark/sql/connector/PhoenixDataSource.java:22:
>  error: cannot find symbol
> [ERROR] import org.apache.phoenix.spark.SparkSchemaUtil;
> [ERROR]                                ^
> [ERROR]   symbol:   class SparkSchemaUtil
> [ERROR]   location: package org.apache.phoenix.spark
> [ERROR] 
> /home/stoty/workspaces/apache-phoenix/phoenix-connectors/phoenix5-spark3/src/main/java/org/apache/phoenix/spark/sql/connector/reader/PhoenixPartitionReader.java:56:
>  error: cannot find symbol
> [ERROR] import org.apache.spark.sql.execution.datasources.SparkJdbcUtil;
> [ERROR]                                                  ^
> ...{noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to