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

maven site plugin typo prevents parent site.xml resolution from working

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta-5
    • Fix Version/s: 2.0-beta-6
    • Component/s: None
    • Labels:
      None

      Description

      That is an obvious typo that should be fixed. Afterwards, the site generation works correct:

      With this patch:

      mvn -X site
      [...]
      [INFO] [site:site]
      [DEBUG] Mapped url: /home/scratch/velocity/site/doxia-velocity-renderer/src/site to relative path: src/site
      [DEBUG] Reading site descriptor from src/site/site.xml
      [DEBUG] Mapped url: /home/scratch/velocity/site/doxia-velocity-renderer/src/site to relative path: ../src/site
      [...]

      Without this patch, the site plugins opens src/site/site.xml twice. This leads to all kinds of strange behaviour like having custom powered by logos twice.

        Attachments

        1. maven-site-plugin.diff
          0.5 kB
          Henning Schmiedehausen

          Activity

            People

            • Assignee:
              aheritier Arnaud Heritier
              Reporter:
              hgschmie Henning Schmiedehausen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: