[
https://issues.apache.org/jira/browse/CALCITE-7971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated CALCITE-7971:
------------------------------------
Labels: pull-request-available (was: )
> Aggregate Javadoc uses Java test fixtures as source files
> ---------------------------------------------------------
>
> Key: CALCITE-7971
> URL: https://issues.apache.org/jira/browse/CALCITE-7971
> Project: Calcite
> Issue Type: Bug
> Reporter: David Chaava
> Priority: Minor
> Labels: pull-request-available
>
> On a clean Calcite checkout at {{{}6e84512ac{}}},
> {{javadocAggregateIncludingTests}} attempts to compile Java fixtures from
> test resources. Some fixtures reference private metadata handlers, which
> causes errors during Javadoc generation. The same run also reports malformed
> HTML in the SQL logic-test package Javadoc, where a less-than sign needs
> escaping.
> The aggregate Javadoc tasks should resolve Java sources only from declared
> source directories, including generated sources. Both tasks should declare
> their Jandex resource producer dependencies. The SQL logic-test package
> Javadoc should escape the less-than sign so it passes doclint.
> With the proposed fix, both {{javadocAggregate}} and
> {{javadocAggregateIncludingTests}} passed on upstream revision {{fc889f72fa}}
> with doclint enabled.
> Proposed fix: [https://github.com/apache/calcite/pull/5453]
> Review context:
> [https://github.com/apache/calcite/pull/5427#discussion_r4697891047]
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)