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

Docs are not updated if only site.xml changed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.0-beta-5
    • None
    • site descriptor
    • None

    Description

      If I update site.xml (e.g. add new menu-items) and regenerate my existing site, the index gets updated but other existing pages are not rebuild and therefore show the menus in the state before the site.xml has changed (so new menus are missing). This causes a confusing site where menus appear and disappear while surfing.

      I only use xdos (and they are in a subfolder) so I can not tell if this happens with apt as well. I reproduced the problem with "mvn site" and "mvn site:stage".
      As a workaround I can delete the old site before building. Since I stage the site directly to the final destination on the local machine where it is served this is not very suitable because then the site is broken until it is completely rebuild.
      If you consider to fix this issue please beware that site.xml can inherit stuff in multiproject envronments.
      So it is unclear if the optimization to only re-generate if something has changed makes sense at all. It might be quite complicated to determine this - the question is how much time is saved by this at all.

      Attachments

        Issue Links

          Activity

            People

              ltheussl Lukas Theussl
              joerg.hohwiller@sdm.de Jörg Hohwiller
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: