Michael Osipov created DOXIASITETOOLS-293:
---------------------------------------------

             Summary: 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
             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)}}.



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

Reply via email to