You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Raju Bairishetti (JIRA)" <ji...@apache.org> on 2015/07/23 06:54:04 UTC

[jira] [Commented] (LENS-635) Fail build for javadoc warnings/errors on java7 as well

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

Raju Bairishetti commented on LENS-635:
---------------------------------------

It fails the build only on javadoc errors. Not failing the build on javadoc warnings.

Right now, maven javadoc plugin has only *failOnErrors* option and does not have *failOnWarnings* option.

One approach could be : parsing the maven javadoc output and fail the build on warnings. This approach is *not an optimal solution* as it adds extra time to the build time.

Any suggestions?

> Fail build for javadoc warnings/errors on java7 as well
> -------------------------------------------------------
>
>                 Key: LENS-635
>                 URL: https://issues.apache.org/jira/browse/LENS-635
>             Project: Apache Lens
>          Issue Type: Sub-task
>          Components: build
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Raju Bairishetti
>             Fix For: 2.3
>
>         Attachments: LENS-635.patch
>
>
> We fixed javadoc warnings as they result as errors in java8. We should fail the build with javadoc warnings or errors with new code getting checked in.



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