[
https://issues.apache.org/jira/browse/OAK-6150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15994824#comment-15994824
]
Alex Parvulescu commented on OAK-6150:
--------------------------------------
had a debugging session with [~tmueller] on the first error:
{noformat}
[ERROR]
oak-upgrade/src/main/java/org/apache/jackrabbit/oak/upgrade/RepositoryUpgrade.java:139:
error: cannot find symbol
[ERROR] import org.apache.lucene.index.TermDocs;
[ERROR] ^
[ERROR] symbol: class TermDocs
[ERROR] location: package org.apache.lucene.index
{noformat}
...and it's pretty weird. It's probably related to the fact that oak uses
multiple lucene versions ({{oak-upgrade}} -> {{lucene 3.6.0}}, {{oak-lucene}}
-> {{lucene 4.7.1}}) and the javadocs aggregator gets confused because packages
between the 2 lucene versions don't match. I tried using the
{{excludePackageNames}} option but could not get it to work. Generating
individual javadocs (per module) works fine, but generating from root them
fails because of the aggregation step. Not sure how to fix this yet.
> Javadoc plugin fails on Java 8
> ------------------------------
>
> Key: OAK-6150
> URL: https://issues.apache.org/jira/browse/OAK-6150
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: doc
> Reporter: Alex Parvulescu
> Assignee: Alex Parvulescu
> Priority: Blocker
> Fix For: 1.7.0
>
>
> As discussed on the mailing list (will provide link soon) the javadoc
> generation fails on java 8. For next level complexity the release plugin also
> fails.
> For javadocs:
> {noformat}
> mvn javadoc:javadoc
> {noformat}
> and for the more adventurous:
> {noformat}
> mvn release:prepare -DdryRun=true
> {noformat}
> I'm tentatively setting fix version 1.7.0 to try to resolve this in time for
> the release (not sure when that is though).
> [~reschke] could you add the relevant errors here?
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)