[
https://issues.apache.org/jira/browse/MJAVADOC-590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Scholte closed MJAVADOC-590.
-----------------------------------
Fix Version/s: 3.3.0
Assignee: Robert Scholte
Resolution: Fixed
Fixed in
[f27c99dcf35a27ab06b00ad1e2b30336de39fdf8|https://gitbox.apache.org/repos/asf?p=maven-javadoc-plugin.git;a=commit;h=f27c99dcf35a27ab06b00ad1e2b30336de39fdf8]
> Setting nooverview option always causes a build failure
> -------------------------------------------------------
>
> Key: MJAVADOC-590
> URL: https://issues.apache.org/jira/browse/MJAVADOC-590
> Project: Maven Javadoc Plugin
> 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.3.4#803005)