[ 
https://jira.codehaus.org/browse/MSITE-669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=315809#comment-315809
 ] 

Lennart Jörelid edited comment on MSITE-669 at 12/17/12 2:41 AM:
-----------------------------------------------------------------

As far as I can tell, your assumption does not seem to be correct.
Attached a sample where all subprojects have well-formed distributionManagement 
urls.
The staging site is broken in 2 ways:

* The navigation links do not point correctly to their parent

* The staging documents are not contained within the target/staging directory


I would recommend building the standard mvn clean site site:stage within the 
supplied sample.zip project structure.
Then open the index.html of the target/staging/ directory in the root project.

Also note that some of the documents are strewn within the project root of the 
bar subproject; i.e. 
not contained within the foo/target/staging directory.
                
      was (Author: l...@jguru.se):
    As far as I can tell, your assumption does not seem to be correct.
Attached a sample where all subprojects have well-formed distributionManagement 
urls.
The staging site is broken in 2 ways:

* The navigation links do not point correctly to their parent

* The staging documents are not contained within the target/staging directory
                  
> site:stage creates incorrect structure when module paths contains sets of 
> "../"
> -------------------------------------------------------------------------------
>
>                 Key: MSITE-669
>                 URL: https://jira.codehaus.org/browse/MSITE-669
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>          Components: multi module, relative links, site:stage(-deploy)
>    Affects Versions: 3.1, 3.2
>            Reporter: Lennart Jörelid
>            Assignee: Lukas Theussl
>         Attachments: sample.zip
>
>
> Given the module definitions given below, the site:stage goal produces sets 
> of maps relative to the staging directory - i.e. outside of the target 
> directory.
> {code:xml} 
> <modules>
>   <module>../../validation/validation-api</module>
>   <module>../../validation/validation-aspect</module>
>   <module>../parent</module>
> </modules>
> {code}
> The staged site should be fully included within the staging directory. It 
> would appear that relativization of links for site:stage should take special 
> links into consideration.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to