[
https://issues.apache.org/jira/browse/SLING-6766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16358554#comment-16358554
]
Konrad Windszus edited comment on SLING-6766 at 2/9/18 3:55 PM:
----------------------------------------------------------------
The error is definitely the classpath which is passed on to javadoc (located in
{{out/target/site/apidocs/options}}). The source for this is at
https://github.com/apache/maven-javadoc-plugin/blob/12dbbde29cf6277ca311cb8afffdf02dbfe0c9b4/src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java#L2601.
The reason why the order is not always the same is that for transitive
dependencies a HashMap is being used internally
(https://github.com/apache/maven-javadoc-plugin/blob/12dbbde29cf6277ca311cb8afffdf02dbfe0c9b4/src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java#L2605).
I opened MJAVADOC-513 for an improvement here.
[~rombert] For this time until we have a proper fix can I ask you to run the
script again and push the changes?
was (Author: kwin):
The error is definitely the classpath which is passed on to javadoc (located in
{{out/target/site/apidocs/options}}). I have not yet figured out how to
influence the order in that file. The source for this is at
https://github.com/apache/maven-javadoc-plugin/blob/12dbbde29cf6277ca311cb8afffdf02dbfe0c9b4/src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java#L2601.
The reason why the order is not always the same is that for transitive
dependencies a HashMap is being used internally
(https://github.com/apache/maven-javadoc-plugin/blob/12dbbde29cf6277ca311cb8afffdf02dbfe0c9b4/src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java#L2605).
> Javadoc: Include package org.apache.sling.adapter.annotations in the Sling
> javadocs
> -----------------------------------------------------------------------------------
>
> Key: SLING-6766
> URL: https://issues.apache.org/jira/browse/SLING-6766
> Project: Sling
> Issue Type: Improvement
> Components: Commons, Site
> Reporter: Konrad Windszus
> Assignee: Robert Munteanu
> Priority: Major
> Attachments: Open_Type.png
>
>
> Currently the javadocs at https://sling.apache.org/apidocs/sling8/ do not
> include the package {{org.apache.sling.adapter.annotations}} (being added
> with SLING-2313).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)