You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Nikolas Falco (JIRA)" <ji...@apache.org> on 2016/12/02 17:47:58 UTC

[jira] [Created] (MSITE-788) Remove menu items link in the side bar to sub module that do not generate any site in the same build.

Nikolas Falco created MSITE-788:
-----------------------------------

             Summary: Remove menu items link in the side bar to sub module that do not generate any site in the same build.
                 Key: MSITE-788
                 URL: https://issues.apache.org/jira/browse/MSITE-788
             Project: Maven Site Plugin
          Issue Type: Improvement
          Components: site:run
    Affects Versions: 3.6
         Environment: Windows7, Maven 3.3.9
            Reporter: Nikolas Falco
            Priority: Minor


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)