I am experiencing the common problem of links broken in multi module sites with parent poms.
I understand that mvn site builds individual module sites but doesn't link them, and the mvn site:deploy should repair the links. The latter however doesn't happen. >From here http://maven.apache.org/plugins/maven-site-plugin/faq.html Why don't the links between parent and child modules work when I run "mvn site"? What "mvn site" will do for you, in a multi-project build, is to run "mvn site" for the parent and all its modules individually. The links between parent and child will not work here. They will however work when you deploy the site. If you want to test this, prior to deployment, you can run the site:stage <http://maven.apache.org/plugins/maven-site-plugin/stage-mojo.html> goal as described in the usage documentation <http://maven.apache.org/plugins/maven-site-plugin/usage.html> instead. Indeed, if I do a mvn site:stage then the site is built with links in place from the parent to child. However, a mvn site:deploy fails. mvn clean site site:stage-deploy <-- Correct links mvn clean site site:deploy <-- Incorrect links - all point at index.html Any comments appreciated. Is this behaviour by design as I may contribute a patch if not.
Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mails are not encrypted and cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. UBS Limited is a company registered in England & Wales under company number 2035362, whose registered office is at 1 Finsbury Avenue, London, EC2M 2PP, United Kingdom. UBS AG (London Branch) is registered as a branch of a foreign company under number BR004507, whose registered office is at 1 Finsbury Avenue, London, EC2M 2PP, United Kingdom. UBS Clearing and Execution Services Limited is a company registered in England & Wales under company number 03123037, whose registered office is at 1 Finsbury Avenue, London, EC2M 2PP, United Kingdom. UBS reserves the right to retain all messages. Messages are protected and accessed only in legally justified cases.
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org