Uploaded image for project: 'Maven Doxia Sitetools'
  1. Maven Doxia Sitetools
  2. DOXIASITETOOLS-278

Remove menu items link in the sidebar to submodule that do not generate any site in the same build

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-M4
    • 2.0.0-M5, 2.0.0
    • Integration Tools
    • None
    • Windows7, Maven 3.3.9

    Description

      We have some multi-module projects where a few modules are only for scope distribution or for integration test.
      These modules are marked with maven.site.skip=true and the site is not generated, but in the maven site of parent project they appear in the sidebar menu, clearly if you click on those links are broken.

      Debugging the code, the mojo loop on each project in the reactor build and add as menu item.

      Is possible add a configuration element of maven-site-plugin to exclude some modules from the modules report menu? or implement a check if a site for that project exists?

      org.example

      • module1
      • module2
      • module.test (skip generation)
      • distribution (skip generation)

      the maven site of org.example have in the menu bar links to no available site of distribution and module.test

      Attachments

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              nfalco79 Nikolas Falco
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: