Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.3
    • Labels:
      None
    • Number of attachments :
      0

      Description

      The default report names appear in the site left menu even though the reports have not been generated.

      For example, if a project has no java sources, the Metrics report will appear in the navigation menu but clicking on it generates a 404...

      Several solutions:
      1/ no default reports
      2/ intelligent reports: if there are no sources, then the metrics report is disabled
      3/ default empty pages for reports that are not generated. Can contain something like "No Metrics report available as there is no java source in this project"

      My preference goes to 2/

      -Vincent

        Issue Links

          Activity

          Hide
          Jason van Zyl added a comment -

          You can currently set the following property which will keep the generated reports from showing up on the left hand side:

          maven.xdoc.includeProjectDocumentation = no

          Will this suffice? I agree that intelligent handling would be better though.

          Show
          Jason van Zyl added a comment - You can currently set the following property which will keep the generated reports from showing up on the left hand side: maven.xdoc.includeProjectDocumentation = no Will this suffice? I agree that intelligent handling would be better though.
          Hide
          Emmanuel Venisse added a comment -

          Done.
          I register reports only if source, test,... exists.

          Show
          Emmanuel Venisse added a comment - Done. I register reports only if source, test,... exists.
          Hide
          Ben Walding added a comment -

          The changes erroneously disable the license report if the license file exists.

          Roll back the changes applied for maven-493 to the license report.

          Show
          Ben Walding added a comment - The changes erroneously disable the license report if the license file exists. Roll back the changes applied for maven-493 to the license report.
          Hide
          dion gillard added a comment -

          I thought this was fixed?

          Show
          dion gillard added a comment - I thought this was fixed?
          Hide
          Ben Walding added a comment -

          Fixed now.

          Show
          Ben Walding added a comment - Fixed now.

            People

            • Assignee:
              Emmanuel Venisse
              Reporter:
              Vincent Massol
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: