Hi David,

Have tried your menu ref="parent" but seems it have nothing to do with
the problem.
It seems only create link to parent project in the 'inherited' project. 
I have also tried to add menu ref="modules" and as I said before, no
sub-module's link
is included.  Moreover, my top level project is not a parent project for
inheritence, it is
just a multi-module project.


The reason I am trying to include the built artifact in the site is in
fact I am trying to 
integrate with build server (Luntbuild).  I want to put the build result
in the provided
directory.  Is there really no way that I can build a full site
(including the artifacts)
for such purpose?  If so I may need to find other way....

Thanks

Adrian



-----Original Message-----
From: David Roussel [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 29, 2008 11:29 PM
To: [email protected]
Subject: Re: About Multi-module site generation





Adrian Shum wrote:
> 
> 
> 1)  I tried to run "mvn site" , "mvn clean install site" and also "mvn

> site:stage" in myproj.
> The generated site in myproj only contains info on myproj.  No link to
> sub-project 
> under "Module" in the left panel.  
> 
> I have no special configuration in POM for the site generation.  Do I 
> need to do something to make an aggregated site?
> 

Try putting this in your site.xml: 
                <menu ref="parent" inherit="bottom" />

For more info see:
 -
http://maven.apache.org/plugins/maven-site-plugin/examples/sitedescripto
r.html
 - http://www.sonatype.com/book/reference/site-generation.html



Adrian Shum wrote:
> 
> 2)  Is that the built artifact will be put under the site?  I have 
> checked the target/site (or target/stage if I use site:stage), my 
> JAR/WAR/EAR is not present in it.  Do I need
> some configuration to achieve this?
> 

The built artifact is not put under target/site.  If you run 'mvn
install'
your artifact will be in target, and if you run 'mvn deploy' it will be
uploaded to your repo, if your pom is confifured correctly.  See the
manve
book for more info.

Thanks

David
-- 
View this message in context:
http://www.nabble.com/About-Multi-module-site-generation-tp19217384p1922
2128.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



This email is confidential. If you are not the intended recipient, please 
delete it from your system and notify the sender immediately. Any unauthorized 
use, disclosure, dissemination or copying of this email is prohibited. Taifook 
Securities Group, its group companies and their content providers ("Parties") 
shall not be responsible for the accuracy or completeness of this email or its 
attachment, if any, which could contain virus, be corrupted, destroyed, 
incomplete, intercepted, lost or arrive late.   The Parties do not accept 
liability for any damage caused by this email.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to