[ 
https://issues.apache.org/jira/browse/OAK-10500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-10500:
---------------------------------
    Description: 
For the public site, we're creating aggregate Javadocs for the whole project. 
This fails since the switch to Java 11, and is caused by the project pulling in 
different versions of lucene-core, which are not compatible (oak-update uses a 
historic one from Jackrabbit, oak-solr one a newer one than the defaulr 
project).

In addition, doc generation for the groovy classes fails when shaded Guava is 
in the reactor.

  was:
{{mvn site -Pdoc,javadoc}} fails with:

{noformat}
[ERROR] 
/mnt/c/projects/apache/oak/trunk/oak-jackrabbit-api/src/main/java/org/apache/jackrabbit/api/JackrabbitNode.java:40:
 error: cannot find symbol
[ERROR]      * @param mixinNames
[ERROR]                         ^
[ERROR]   symbol:   variable LUCENE_47
[ERROR]   location: class Version
[ERROR] 
/mnt/c/projects/apache/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/OakCodec.java:41:
 error: reference not found
[ERROR]  * It simply mimics {@link Lucene46Codec} but
[ERROR]                            ^
[ERROR]
[ERROR] Command line was: /home/jre/jdk1.8.0_221/jre/../bin/javadoc @options 
@packages
[ERROR]
[ERROR] Refer to the generated Javadoc files in 
'/mnt/c/projects/apache/oak/trunk/oak-doc/target/site/apidocs' dir.
{noformat}


> javadoc:aggregate build fails again
> -----------------------------------
>
>                 Key: OAK-10500
>                 URL: https://issues.apache.org/jira/browse/OAK-10500
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: doc
>            Reporter: Julian Reschke
>            Priority: Minor
>
> For the public site, we're creating aggregate Javadocs for the whole project. 
> This fails since the switch to Java 11, and is caused by the project pulling 
> in different versions of lucene-core, which are not compatible (oak-update 
> uses a historic one from Jackrabbit, oak-solr one a newer one than the 
> defaulr project).
> In addition, doc generation for the groovy classes fails when shaded Guava is 
> in the reactor.



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

Reply via email to