Benedikt Ritter created MJAVADOC-590:
----------------------------------------

             Summary: 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


*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
(v7.6.3#76005)

Reply via email to