Uploaded image for project: 'Maven Javadoc Plugin'
  1. Maven Javadoc Plugin
  2. MJAVADOC-590

Setting nooverview option always causes a build failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0
    • javadoc
    • None

    Description

      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

      Attachments

        Activity

          People

            rfscholte Robert Scholte
            britter Benedikt Ritter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: