Use the mutliproject:site goal http://maven.apache.org/reference/plugins/multiproject/goals.html
-----Original Message----- From: Lance Hankins [mailto:[EMAIL PROTECTED] Sent: 26 May 2004 01:06 To: [EMAIL PROTECTED] Subject: site:generate for many sub-projects... I'm trying to use Maven on a new J2EE project, and have based my project structure of information provided in the following article : http://www.theserverside.com/resources/article.jsp?l=MavenMagic For starters, I'm just building an EAR which contains a WAR, an EJB-Jar and several utility Jars. I have it successfully building and can deploy it in JBoss 3.2.3. My problem is when I try to do site:generate, it generates all documentation for each of the sub-projects in their own specific sub-directory area (in each sub-component's target/docs dir) What I <really> want is to generate consolidated documentation for the ear, which has all the docs for the war, ejb-jar, utility jars, in one place. Right now, I have the following goal defined in my top level maven.xml file (this causes site:generate to be invoked in each of my sub-projects) : <goal name="myapp:site"> <maven:reactor basedir="${basedir}/components" includes="*/project.xml" goals="site:generate" banner="generating site..." ignoreFailures="false"/> </goal> Any suggestions on how to do this...? Thanks in advance ;) -Lance __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ************************************************************************ This e-mail and any files transmitted with it are confidential and may be privileged and are intended solely for the individual named/ for the use of the individual or entity to whom they are addressed.If you are not the intended addressee, you should not disseminate, distribute or copy this e-mail.Please notify the sender immediately if you have received this e-mail by mistake and delete this e-mail from your system.If you are not the intended recipient, you are notified that reviewing, disclosing, copying, distributing or taking any action in reliance on the contents of this e-mail is strictly prohibited.Please note that any views or opinions expressed in this e-mail are solely those of the author and do not necessarily represent those of Traventec Limited.E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, or arrive late or incomplete.Traventec Limited 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.The recipient should check this e-mail and any attachments for the presence of viruses.This e-mail has been swept for computer viruses however Traventec Limited accepts no liability for any damage caused by any virus transmitted by this e-mail. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
