You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Gabriele Columbro (JIRA)" <ji...@apache.org> on 2016/04/26 22:10:12 UTC

[jira] [Created] (CMIS-977) Fix Javadoc to comply with Java8 DocLint

Gabriele Columbro created CMIS-977:
--------------------------------------

             Summary: Fix Javadoc to comply with Java8 DocLint
                 Key: CMIS-977
                 URL: https://issues.apache.org/jira/browse/CMIS-977
             Project: Chemistry
          Issue Type: Bug
          Components: build&release
    Affects Versions: OpenCMIS 0.14.0
            Reporter: Gabriele Columbro
             Fix For: OpenCMIS 1.0.0


As we moved to Java 8, DocLint was introduced and our build fails on many incomplete Javadoc tags (description of the issue http://stackoverflow.com/questions/15886209/maven-is-not-working-in-java-8-when-javadoc-tags-are-incomplete).

Details of the errors to fix are attached.

In the meanwhile I have added a temporary fix to process with 0.14.0 release, but I believe this should be fixed for 1.0.0.

The fix is to disable docLint for Java 8 and above as follows:

<!-- Added profile to fix "doclint" (see
             This is a temporary solution, until we solve
        -->
        <profile>
            <id>disable-java8-doclint</id>
            <activation>
                <jdk>[1.8,)</jdk>
            </activation>
            <properties>
                <additionalparam>-Xdoclint:none</additionalparam>
            </properties>
        </profile>





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)