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/03/19 17:51:00 UTC

[jira] [Closed] (DOXIASITETOOLS-293) Remove menu items link in the sidebar to submodule that are not present in the same build (reactor)

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

Michael Osipov closed DOXIASITETOOLS-293.
-----------------------------------------
    Resolution: Fixed

Fixed with [ba28f4aca611c586871cb46fb449b52883bdc5dc|https://gitbox.apache.org/repos/asf?p=maven-doxia-sitetools.git;a=commit;h=ba28f4aca611c586871cb46fb449b52883bdc5dc].

> Remove menu items link in the sidebar to submodule that are not present in the same build (reactor)
> ---------------------------------------------------------------------------------------------------
>
>                 Key: DOXIASITETOOLS-293
>                 URL: https://issues.apache.org/jira/browse/DOXIASITETOOLS-293
>             Project: Maven Doxia Sitetools
>          Issue Type: Improvement
>          Components: Integration Tools
>    Affects Versions: 2.0.0-M5
>            Reporter: Michael Osipov
>            Assignee: Michael Osipov
>            Priority: Major
>             Fix For: 2.0.0-M6
>
>
> This is an extension to DOXIASITETOOLS-278:
> We have some multi-module projects where a few modules may be omitted from the build, e.g., with profiles or {{-pl}} 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.
> Only project modules should be rendered/added if they are in the current reactor instead of trying to load them from FS.
> The immediate modules can be passed with a call from {{MavenSession#getProjectDependencyGraph().getDownstreamProjects(project, false)}}.
> In constrast to DOXIASITETOOLS-278 where the module is present in the reactor, but just ite generation is disabled, therefore an entry w/o a link is created, here the entire module isn't present.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)