You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by DebasisM <de...@gmail.com> on 2009/12/30 05:42:51 UTC
Site generation for multiple modules is not working properly
Hi All,
I am having some problem while generating site for multiple modules.
1.I am having 7 modules.I am having a parent pom and i am running install
and deploy goal in the parent one which does for all the moduels defined in
the parent pom.but i want to generate the sites for only 2 modules .how can
i restrict that?
2.I want my modules menu shlud be different.that i have configured in the
site.xml .then also it is inheriting form the parent site.xml.
3.Links to the modules is not coming.thats why I am generating the sites
individually and manually deploying it to the tomcat.how can i automate
this.meaning link should come automatically having different menu(left side)
for different modules and it should be deployed to tomcat when hudson will
fire the goal site:deploy.
4.I am using pom aggregation as well as pom inheritance together.previously
i was using only pom aggregation thats why i was unable to see my modules
names in the parent sites.then i did pom inheritance now module names it is
showing but it is not giving the link to the modules.
5.I checked in the documentation in site:stage goal we can check the
multimodule site generation.but link is not working.
Please let me know where i am missing anything.
Thanks,
Debasis
--
View this message in context: http://old.nabble.com/Site-generation-for-multiple-modules-is-not-working-properly-tp26964041p26964041.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Site generation for multiple modules is not working properly
Posted by Dennis Lundberg <de...@apache.org>.
DebasisM wrote:
> Hi All,
> I am having some problem while generating site for multiple modules.
> 1.I am having 7 modules.I am having a parent pom and i am running install
> and deploy goal in the parent one which does for all the moduels defined in
> the parent pom.but i want to generate the sites for only 2 modules .how can
> i restrict that?
Only run 'mvn site' on the modules you want a site for.
> 2.I want my modules menu shlud be different.that i have configured in the
> site.xml .then also it is inheriting form the parent site.xml.
Don't put
<menu ref="modules" />
in your site.xml. Create your own menu instead.
> 3.Links to the modules is not coming.thats why I am generating the sites
> individually and manually deploying it to the tomcat.how can i automate
> this.meaning link should come automatically having different menu(left side)
> for different modules and it should be deployed to tomcat when hudson will
> fire the goal site:deploy.
http://maven.apache.org/plugins/maven-site-plugin/faq.html#Why_dont_the_links_between_parent_and_child_modules_work_when_I_run_mvn_site
> 4.I am using pom aggregation as well as pom inheritance together.previously
> i was using only pom aggregation thats why i was unable to see my modules
> names in the parent sites.then i did pom inheritance now module names it is
> showing but it is not giving the link to the modules.
See above.
> 5.I checked in the documentation in site:stage goal we can check the
> multimodule site generation.but link is not working.
What is not working?
Which version of the Site Plugin are you using?
> Please let me know where i am missing anything.
>
>
> Thanks,
> Debasis
>
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org