[prev in list] [next in list] [prev in thread] [next in thread] 

List:       maven-user
Subject:    RE: Maven site generation and multi-module
From:       "Julien Martelli" <jmartelli () pcap ! fr>
Date:       2009-07-30 14:52:07
Message-ID: 009401ca1125$4f3f96b0$edbec410$ () fr
[Download RAW message or body]

OK, sorry for the messy section ;)

Actually I solved my problem by adding inheritance & multi-modules to my project.
The problem came from the fact that I am working with an existing project \
architecture and there were missing relationships between modules.

Thanks a lot anyway!

julien


-----Message d'origine-----
De : Lukas Theussl [mailto:ltheussl@apache.org] 
Envoyé : jeudi 30 juillet 2009 16:28
À : Maven Users List
Objet : Re: Maven site generation and multi-module



Julien Martelli wrote:
> 
> 
> Hi all,
> 
> 
> 
> As far as I understand the maven site plugin behavior, if I want to
> display on my main project webpage links to project submodule's webpages
> I have to use inheritance. Am I wrong?

You just have to use a menu <menu ref="modules" /> in your site.xml and declare
your modules in the parent pom.

> 
> 
> 
> I mean it is impossible to create a global POM file containing
> references to sub-modules and without inheritance relationship on each
> sub-module POM file and then to have a mvn site command on the global
> POM file to generate a general webpage with all the links to the
> sub-modules…


I got lost in the middle part there, can you re-formulate that somewhat simpler?
Did you check the site plugin docs [1], sections on 'Inheritance' and 'Including
Generated Content'?

HTH,
-Lukas

[1] http://maven.apache.org/plugins/maven-site-plugin/examples/sitedescriptor.html


> 
> 
> 
> Am I wrong?
> 
> 
> 
> If I am right, is there something planned about it or does the site
> command is designed to manage only inheritance?
> 
> 
> 
> Thanks in advance!
> 
> 
> 
> julien
> 
> 
> ------------------------------------------------------------------------
> 
> This email was Anti Virus checked by Astaro Security Gateway. http://www.astaro.com
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic