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

Olivier Lamy commented on MJAVADOC-590:
---------------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-javadoc-plugin#888|https://github.com/apache/maven-javadoc-plugin/issues/888].
 

> Setting nooverview option always causes a build failure
> -------------------------------------------------------
>
>                 Key: MJAVADOC-590
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-590
>             Project: Maven Javadoc Plugin (Moved to GitHub Issues)
>          Issue Type: Bug
>          Components: javadoc
>            Reporter: Benedikt Ritter
>            Assignee: Robert Scholte
>            Priority: Major
>             Fix For: 3.3.0
>
>
> *Problem:*
> The nooverview option is not usable, since it will alway clash with the 
> overview option. This is because overview has a default value set to 
> ${basedir}/src/main/javadoc/overview.html, so the file object representing 
> overview will always be created. It is not possible to not set it to null. 
> FOr this reason the check in validateStandardDocletOptions will always throw 
> an exception.
> *Possible Solution:*
> The check
> {{( getOverview() != null ) && nooverview}}
> should be changed to
> {{getOverview() != null && getOverview().exists() && nooverview}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to