[
https://jira.codehaus.org/browse/MSITE-669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=315830#comment-315830
]
Lennart Jörelid edited comment on MSITE-669 at 12/17/12 7:58 AM:
-----------------------------------------------------------------
It seems that there are more pieces to the puzzle than the 3 items mentioned
above.
After applying these 3 site URL fixes to a small but real project
https://bitbucket.org/lennartj/nazgul_tools/
... the staged site still gets created outside of the target/staging directory;
for example the site of the validation-api is deployed within the root
directory of the validation api itself. Navigation is broken.
What other requirements are required by the maven-site-plugin to supply proper
staging?
Is there - for example - some requirement WRT the {{relativePath}} element of
the parent pom?
was (Author: [email protected]):
It seems that there are more pieces to the puzzle than the 3 items
mentioned above.
After applying these 3 site URL fixes to a small but real project
https://bitbucket.org/lennartj/nazgul_tools/
... the staged site still gets created outside of the target/staging directory;
for example the site of the validation-api is deployed within the root
directory of the validation api itself. Navigation is broken.
What other requirements are required by the maven-site-plugin to supply proper
staging?
> 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