Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0-beta-6
-
None
-
None
-
win32, JVM 1.5.0.04, maven-2.1-SNAPSHOT, site-2.0-SNAPSHOT
Description
project.getParent().getUrl() returns non-interpolated values - using the reactor environment to locate the parent gives an interpolated url.
Additionally the patch includes a improved 'source the module details from the filesystem' functionality which is used in non-reactor environments, if a module is found not to define a URL (as it commonly doesnt as its inherited from parent) then the repository is queried instead.
Patch also includes a more powerful 'calculate realtive path' function that can handle divergent pathes share a common ancestor (e.g ../../../foo/bar/index.html) which is used to calculate parent and module hrefs.
Attachments
Attachments
Issue Links
- duplicates
-
MSITE-72 new non reactor populateModules SiteMojo code assumes each POM declares its own URL
- Closed