You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2008/02/21 00:49:29 UTC

[jira] Commented: (MSITE-304) site:stage-deploy creates different directory structure than site:stage or site:site

    [ http://jira.codehaus.org/browse/MSITE-304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_124534 ] 

Benjamin Bentmann commented on MSITE-304:
-----------------------------------------

Forgot to mention: This altered directory structure will cause the inter-module links to fail.

A demo project can be taken from MSITE-180 as provided by Gabriel Falkenberg.

> site:stage-deploy creates different directory structure than site:stage or site:site
> ------------------------------------------------------------------------------------
>
>                 Key: MSITE-304
>                 URL: http://jira.codehaus.org/browse/MSITE-304
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-6
>            Reporter: Benjamin Bentmann
>
> Given a parent and a child module, the regular site directory structure is
> {noformat}
>    <site-root>/
>       child/
> {noformat}
> which is expected by all the inter-module links.
> In contrast, site:stage-deploy will create
> {noformat}
>   <site-root>/
>     staging/
>     child/
>       staging/
> {noformat}
> instead of 
> {noformat}
>   <site-root>/
>     staging/
>       child/
> {noformat}
> 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.
>  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira