chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriele Columbro (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CMIS-977) Fix Javadoc to comply with Java8 DocLint
Date Tue, 26 Apr 2016 20:10:12 GMT
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)

Mime
View raw message