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

Konrad Windszus edited comment on SLING-6766 at 2/9/18 1:25 PM:
----------------------------------------------------------------

The reason for this error is
{code}
[ERROR] Exit code: 1 - javadoc: warning - Multiple sources of package comments 
found for package "org.osgi.framework"
[ERROR] javadoc: warning - Multiple sources of package comments found for 
package "org.osgi.service.url"
{code}
Obviously we don't have a clean classpath but rather duplications in it. 
The class {{org.osgi.service.component.annotations.Reference}} is provided by 7 
different artifacts and 5 different artifact names!

As the order is kind of non-deterministic (or at least OS-specific) with Maven 
I get the error. So the question is, why do we have multiple different 
dependencies for the same class and how to force Maven to use the right one.


was (Author: kwin):
The reason for this error is
{code}
[ERROR] Exit code: 1 - javadoc: warning - Multiple sources of package comments 
found for package "org.osgi.framework"
[ERROR] javadoc: warning - Multiple sources of package comments found for 
package "org.osgi.service.url"
{code}
Obviously we don't have a clean classpath but rather duplications in it. As the 
order is kind of non-deterministic (or at least OS-specific) with Maven I get 
the error. So the question is, why do we have multiple different dependencies 
for the same class and how to force Maven to use the right one.

> 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)

Reply via email to