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

Inheritance of elements from site descriptor quite broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • maven-doxia-tools-1.0
    • maven-doxia-tools
    • None
    • Maven 2.0.8, JDK 1.5.0_12, WinXP

    Description

      After updating to 2.0-beta-6, I never get proper site output for multi module projects. I attached a simple dummy project that shall help to reproduce the problem.

      When I perform a reactor build of the site (i.e. "project-parent> mvn site"), the pages of the sub module project-module-1 properly inherit most of the decorator elements, except for the custom "overview" menu. That is, the site of the sub module contains the menu configured for the parent project despite the sub module specifying its own menu.-

      In contrast, when I only build the site of the sub module (i.e. "project-module-1> mvn site"), many decoration elements are not inherited from the parent's site.xml like <version>, <bannerRight>, <skin>, <links>. However, now the sub module's site properly outputs its own menu items (i.e. "Module-Item" instead of "Parent-Item" for the attached projects).

      This issues might be a duplicate/relative of MSITE-256 but as I cannot safely judge from its description, I opened a new issue.

      Attachments

        1. site-directory.patch
          4 kB
          Benjamin Bentmann
        2. site-directory.patch
          8 kB
          Benjamin Bentmann
        3. project.zip
          5 kB
          Benjamin Bentmann
        4. exception.txt
          3 kB
          Anne Gerodolle
        5. bug2.zip
          6 kB
          Anne Gerodolle
        6. bug1.zip
          6 kB
          Anne Gerodolle

        Issue Links

          Activity

            People

              siveton Siveton Vincent
              bentmann Benjamin Bentmann
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: