[ http://jira.codehaus.org/browse/MSITE-547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=253409#action_253409 ]
Martin Ackermann commented on MSITE-547: ---------------------------------------- In trial-maven.zip, I did not specify the <url> in any of my poms. If I add "<url>file://${user.dir}/target/site-deploy</url>" to the parent POM in trial maven and "<url>file://${user.dir}/target/site-deploy/${artifactId}</url>" to the POMs of trial-maven-product and trial-maven-child-module, the resulting links work. But only with default site.xml. As soon as I add a custom site.xml with custom menus, the links get broken when using "<url>". See example project trial-maven-with-urls-and-sitexml.zip. It doesn't help if I use "<item name="Dependencies" href="./dependencies.html" />" instead of "<item name="Dependencies" href="dependencies.html" />". BTW, I have set distributionManagement.site.url to "file://${user.dir}/target/site-deploy". > Links to child modules do not work when using flat structure > ------------------------------------------------------------- > > Key: MSITE-547 > URL: http://jira.codehaus.org/browse/MSITE-547 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: Bug > Components: site:deploy > Affects Versions: 3.0-beta-3 > Environment: Maven 3.0.1, Windows XP SP3 > Reporter: Martin Ackermann > Attachments: trial-maven-with-urls-and-sitexml.zip, trial-maven.zip > > > trial-maven-child-module has trial-maven-product as parent. When they are > both in the same directory (flat structure), "mvn site-deploy" does not > generate working links for the site. See attached example project. > If trial-maven-child-module is a sub-directory of trial-maven-product (deep > structure), "mvn site-deploy" generates working links. -- 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