Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-beta-6
-
Fix Version/s: 2.0-beta-7
-
Component/s: multi module, relative links
-
Labels:None
-
Number of attachments :
Description
Given a parent and a child module, the regular site directory structure is
<site-root>/
child/
which is expected by all the inter-module links.
In contrast, site:stage-deploy will create
<site-root>/
staging/
child/
staging/
instead of
<site-root>/
staging/
child/
This is due to the configuration of the mojo paramter stagingSiteURL which is constructed by the site URL of the current project and appending a subdir like "staging". This is only usuable for the parent project, for child modules the subdir "staging" needs to be inserted before the subdir for the child module is appended.
Forgot to mention: This altered directory structure will cause the inter-module links to fail.
A demo project can be taken from
MSITE-180as provided by Gabriel Falkenberg.MSITE-180as provided by Gabriel Falkenberg.