You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2017/05/02 12:58:04 UTC

[jira] [Comment Edited] (OAK-6150) Javadoc plugin fails on Java 8

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

Alex Parvulescu edited comment on OAK-6150 at 5/2/17 12:57 PM:
---------------------------------------------------------------

starting with the plan javadoc, and only focusing on errors:

{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
[ERROR] oak-upgrade/src/main/java/org/apache/jackrabbit/oak/upgrade/RepositoryUpgrade.java:140: error: cannot find symbol
[ERROR] import org.apache.lucene.index.TermEnum;
[ERROR] ^
[ERROR] symbol:   class TermEnum
[ERROR] location: package org.apache.lucene.index
{noformat}

{noformat}
[ERROR] oak-pojosr/src/main/java/org/apache/jackrabbit/oak/run/osgi/ConfigTracker.java:60: error: type ServiceReference does not take parameters
[ERROR] public ConfigurationAdmin addingService(ServiceReference<ConfigurationAdmin> reference) {
[ERROR] ^
[ERROR] oak-pojosr/src/main/java/org/apache/jackrabbit/oak/run/osgi/OakOSGiRepositoryFactory.java:409: error: type ServiceReference does not take parameters
[ERROR] public Repository addingService(ServiceReference<Repository> reference) {
[ERROR] ^
[ERROR] oak-pojosr/src/main/java/org/apache/jackrabbit/oak/run/osgi/RunnableJobTracker.java:60: error: type ServiceReference does not take parameters
[ERROR] public Future addingService(ServiceReference<Runnable> reference) {
{noformat}

{noformat}
[ERROR] oak-blob-plugins/src/main/java/org/apache/jackrabbit/oak/plugins/blob/FileCache.java:54: error: cannot find symbol
[ERROR] import static org.apache.commons.io.FileUtils.copyInputStreamToFile;
[ERROR] ^
[ERROR] symbol:   static copyInputStreamToFile
[ERROR] location: class
[ERROR] oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/FileIOUtils.java:54: error: cannot find symbol
[ERROR] import static org.apache.commons.io.FileUtils.copyInputStreamToFile;
[ERROR] ^
[ERROR] symbol:   static copyInputStreamToFile
[ERROR] location: class
{noformat}

{noformat}
[ERROR] oak-store-spi/src/main/java/org/apache/jackrabbit/oak/plugins/value/OakValue.java:31: error: reference not found
[ERROR] * Same as {@link #getString()} unless that names and paths are returned in their
{noformat}


was (Author: alex.parvulescu):
starting with the plan javadoc, and only focusing on errors:

{noformat}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.3:javadoc (default-cli) on project jackrabbit-oak: An error has occurred in JavaDocs report generation:
[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
[ERROR] oak-upgrade/src/main/java/org/apache/jackrabbit/oak/upgrade/RepositoryUpgrade.java:140: error: cannot find symbol
[ERROR] import org.apache.lucene.index.TermEnum;
[ERROR] ^
[ERROR] symbol:   class TermEnum
[ERROR] location: package org.apache.lucene.index

[ERROR] oak-pojosr/src/main/java/org/apache/jackrabbit/oak/run/osgi/ConfigTracker.java:60: error: type ServiceReference does not take parameters
[ERROR] public ConfigurationAdmin addingService(ServiceReference<ConfigurationAdmin> reference) {
[ERROR] ^
[ERROR] oak-pojosr/src/main/java/org/apache/jackrabbit/oak/run/osgi/OakOSGiRepositoryFactory.java:409: error: type ServiceReference does not take parameters
[ERROR] public Repository addingService(ServiceReference<Repository> reference) {
[ERROR] ^
[ERROR] oak-pojosr/src/main/java/org/apache/jackrabbit/oak/run/osgi/RunnableJobTracker.java:60: error: type ServiceReference does not take parameters
[ERROR] public Future addingService(ServiceReference<Runnable> reference) {
[ERROR] ^
[ERROR] oak-blob-plugins/src/main/java/org/apache/jackrabbit/oak/plugins/blob/FileCache.java:54: error: cannot find symbol
[ERROR] import static org.apache.commons.io.FileUtils.copyInputStreamToFile;
[ERROR] ^
[ERROR] symbol:   static copyInputStreamToFile
[ERROR] location: class
[ERROR] oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/FileIOUtils.java:54: error: cannot find symbol
[ERROR] import static org.apache.commons.io.FileUtils.copyInputStreamToFile;
[ERROR] ^
[ERROR] symbol:   static copyInputStreamToFile
[ERROR] location: class
[ERROR] oak-store-spi/src/main/java/org/apache/jackrabbit/oak/plugins/value/OakValue.java:31: error: reference not found
[ERROR] * Same as {@link #getString()} unless that names and paths are returned in their
{noformat}

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