You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2023/01/15 00:17:00 UTC

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

     [ https://issues.apache.org/jira/browse/MSITE-788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov updated MSITE-788:
---------------------------------
    Issue Type: Improvement  (was: Bug)

> 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: Major
>
> 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
(v8.20.10#820010)