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

Konrad Windszus commented on SLING-6766:
----------------------------------------

With Java8 I get the following errors
{code}
...
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-javadoc-plugin:3.0.0:aggregate (default-cli) on 
project org.apache.sling.javadoc-builder: An error has occurred in Javadoc 
report generation:
[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"
[ERROR] 
/Users/konradwindszus/git/sling-tooling-release/out/sling-org.apache.sling.scripting.javascript-3.0.4/src/main/java/org/apache/sling/scripting/javascript/internal/RhinoJavaScriptEngineFactory.java:90:
 error: incompatible types: Reference cannot be converted to LookupReference
[ERROR]     reference = @Reference(
[ERROR]                  ^
[ERROR] 
/Users/konradwindszus/git/sling-tooling-release/out/sling-org.apache.sling.discovery.commons-1.0.20/src/main/java/org/apache/sling/discovery/commons/providers/spi/base/IdMapService.java:62:
 error: annotation type not applicable to this kind of declaration
[ERROR]     @Reference(policyOption=ReferencePolicyOption.GREEDY)
[ERROR]     ^
[ERROR] 
/Users/konradwindszus/git/sling-tooling-release/out/sling-org.apache.sling.discovery.commons-1.0.20/src/main/java/org/apache/sling/discovery/commons/providers/spi/base/IdMapService.java:65:
 error: annotation type not applicable to this kind of declaration
[ERROR]     @Reference(policyOption=ReferencePolicyOption.GREEDY)
[ERROR]     ^
[ERROR] 
/Users/konradwindszus/git/sling-tooling-release/out/sling-org.apache.sling.discovery.commons-1.0.20/src/main/java/org/apache/sling/discovery/commons/providers/spi/base/IdMapService.java:68:
 error: annotation type not applicable to this kind of declaration
[ERROR]     @Reference(policyOption=ReferencePolicyOption.GREEDY)
[ERROR]     ^
[ERROR] 
/Users/konradwindszus/git/sling-tooling-release/out/sling-org.apache.sling.discovery.commons-1.0.20/src/main/java/org/apache/sling/discovery/commons/providers/spi/base/OakBacklogClusterSyncService.java:56:
 error: annotation type not applicable to this kind of declaration
[ERROR]     @Reference(policyOption=ReferencePolicyOption.GREEDY)
[ERROR]     ^
[ERROR] 
/Users/konradwindszus/git/sling-tooling-release/out/sling-org.apache.sling.discovery.commons-1.0.20/src/main/java/org/apache/sling/discovery/commons/providers/spi/base/OakBacklogClusterSyncService.java:59:
 error: annotation type not applicable to this kind of declaration
[ERROR]     @Reference(policyOption=ReferencePolicyOption.GREEDY)
[ERROR]     ^
[ERROR] 
/Users/konradwindszus/git/sling-tooling-release/out/sling-org.apache.sling.discovery.commons-1.0.20/src/main/java/org/apache/sling/discovery/commons/providers/spi/base/OakBacklogClusterSyncService.java:62:
 error: annotation type not applicable to this kind of declaration
[ERROR]     @Reference(policyOption=ReferencePolicyOption.GREEDY)
[ERROR]     ^
[ERROR] 
/Users/konradwindszus/git/sling-tooling-release/out/sling-org.apache.sling.discovery.commons-1.0.20/src/main/java/org/apache/sling/discovery/commons/providers/spi/base/OakBacklogClusterSyncService.java:65:
 error: annotation type not applicable to this kind of declaration
[ERROR]     @Reference(policyOption=ReferencePolicyOption.GREEDY)
[ERROR]     ^
[ERROR] 
/Users/konradwindszus/git/sling-tooling-release/out/sling-org.apache.sling.discovery.commons-1.0.20/src/main/java/org/apache/sling/discovery/commons/providers/spi/base/SyncTokenService.java:55:
 error: annotation type not applicable to this kind of declaration
[ERROR]     @Reference(policyOption=ReferencePolicyOption.GREEDY)
[ERROR]     ^
[ERROR] 
/Users/konradwindszus/git/sling-tooling-release/out/sling-org.apache.sling.discovery.commons-1.0.20/src/main/java/org/apache/sling/discovery/commons/providers/spi/base/SyncTokenService.java:58:
 error: annotation type not applicable to this kind of declaration
[ERROR]     @Reference(policyOption=ReferencePolicyOption.GREEDY)
[ERROR]     ^
[ERROR] 
/Users/konradwindszus/git/sling-tooling-release/out/sling-org.apache.sling.discovery.commons-1.0.20/src/main/java/org/apache/sling/discovery/commons/providers/spi/base/SyncTokenService.java:61:
 error: annotation type not applicable to this kind of declaration
[ERROR]     @Reference(policyOption=ReferencePolicyOption.GREEDY)
...
{code}

In total I have 43 errors and 100 warnings from 
{{maven-javadoc-plugin:3.0.0:aggregate}}.
[~rombert] Any idea?

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