I have a multi-module project:
root/src/site/site.xml
|-->root/common/src/site/site.xml
|-->common/myjar/src/site/site.xml
*root project has the full site.xml:
*
*<?xml version="1.0" encoding="ISO-8859-1"?>
<project>
<bannerLeft>
<name>Delta Dental ESP-DAP Project</name>
<src>http://rc-sun66e.ut.dentegra.lab/images/DeltaDental.jpg</src>
<href>http://rc-sun66e.ut.dentegra.lab</href>
</bannerLeft>
<poweredBy>
<logo name="BASE Logic" href="http://baselogic.com/"
img="http://baselogic.com/images/pb-blinc-maven.png"/>
</poweredBy>
<body>
<links>
<item name="BL" href="http://www.baselogic.com"/>
</links>
<menu name="Project Documents" inherit="top">
<item name="JavaDoc" href="./apidocs/index.html"/>
<item name="FAQs" href="./faqs.html"/>
</menu>
<menu ref="parent" inherit="top"/>
<menu name="Sub-Projects" inherit="top">
<item name="Project Site Home" href="./index.html"/>
<item name="C2 Home" href="./c2/index.html"/>
</menu>
<menu ref="modules" inherit="bottom"/>
<menu ref="reports" inherit="bottom"/>
</body>
</project>*
*Here is my common site.xml:*
*<?xml version="1.0" encoding="ISO-8859-1"?>
<project>
<body>
<!--<menu ref="parent"/>
<menu ref="modules"/>-->
</body>
</project>
*
NOW, when I run mvn clean site:site from root, the main index page has the
correct banners and links, but nothing downstream does.
When I cd common, then run mvn clean site:site, the common now gets the
correct banners and links.
when I cd ../, and re-run mvn clean site:site again, the banners and links
of all downstream pages are lost again.
--
Thanks,
Mick Knutson
http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/BLiNCMagazine
http://tahoe.baselogic.com
---