Description
The attached zip is a complete multi-module build with the bug exposed. Run using "mvn clean site site:stage" to reproduce.
What is observed is that the navigation hyperlinks in the top left (added by the site plugin) are correctly defined as "target/staging/og-timeseries/index.html", whereas the hyperlinks in the middle of index.html and modules.html are incorrectly defined as "target/staging/projects/og-timeseries/index.html" - note the incorrect extra "projects".
The problem will occur because the child projects in the multi-module build are not immediate children of the parent/aggregator. Instead the structure is:
platform - pom.xml - projects - og-timeseries - pom.xml
The extra layer is being handled by the site plugin (by referring to the "distributionManagement.site.url"). It is not handled by this plugin.
As a side note, if "distributionManagement.site.url" is NOT set in the child projects, then the site will build consistently using "target/staging/projects/og-timeseries/index.html" everywhere.
This is no doubt related to MPIR-273.
Attachments
Attachments
Issue Links
- is duplicated by
-
MPIR-285 ModulesReport incorrectly contains indirect descendants
- Closed
-
MPIR-292 On the Modules report, the links to sub-sub-modules are not correctly generated
- Closed
- is related to
-
MPIR-229 The 'modules' report does not support 'url' elements using properties.
- Closed
-
MPIR-273 links to modules broken in modules.html of flat multimodule parent project
- Closed
- relates to
-
MPIR-303 Backslash in multi-module project
- Closed
-
MPIR-309 The Integration test mpir-229 breaks on Apache Jenkins
- Closed