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/sitedescriptor.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-tp19217384p19222128.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]