Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-1326

Improve MavenReport interface/AbstractMavenReport class API

    XMLWordPrintableJSON

Details

    Description

      Based on a discussion with kriegaex, there are few conceptional or documentational issues with the MavenReport interface:

      • #getOutputName() does not clearly say that is actually an optional base path and base name (base location) of the report item from a reporting output directory. It needs at least a doc update and maybe even a rename to #getOutputPath()/#getOutputPathLocation()?
      • Both #setReportOutputDirectory(File outputDirectory) and #getReportOutputDirectory() documentation imply that this directory solely refers to this single report, but that is not correct. It refers to root directory which contains all possibly generated reports. A shared directory, not exclusive one. Consider your report generates in a subdir, then these do not refer to it, but to its parent.

      Attachments

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              michael-o Michael Osipov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: