Uploaded image for project: 'Maven Site Plugin'
  1. Maven Site Plugin
  2. MSITE-578

Incorrect and confusing documentation of site directories

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2, 3.0-beta-3
    • 2.3, 3.0
    • site:stage(-deploy)
    • None

    Description

      The site:stage goal contains the following doc:

      generatedSiteDirectory:

      Directory containing generated documentation.

      • Type: java.io.File
      • Required: Yes
      • Expression: ${project.build.directory}/generated-site

      The expression looks wrong.

      The explanation is also a bit ambiguous - is the directory used to find already generated documentation, or is it used as the output directory from site:stage? In which case, how does it differ from outputDirectory ?

      The page also contains:

      outputDirectory:

      Directory containing the generated project sites and report distributions.

      • Type: java.io.File
      • Required: Yes
      • Expression: ${siteOutputDirectory}
      • Default: ${project.reporting.outputDirectory}

      Again, it's not obvious if this is an output or input directory.

      Also, why is the parameter marked as "Required" when there is a default?

      Attachments

        Activity

          People

            ltheussl Lukas Theussl
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: