You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mac Systems <ma...@mac-systems.de> on 2007/05/20 23:01:17 UTC

How configure to Multiproject Site references

Hello,

actually i wonder how to generate an  Site for an Multiproject ?

The (Master) Project Site will be generated for all my Modules but i do 
not know
how to link to each module's site ?


Project:

pom.xml
|
|
 >Module A
        pom.xml
    -> target/site/index.html
 >Module B
        pom.xml
    -> target/site/index.html
 >Module C
        pom.xml
    -> target/site/index.html


regards,
Jens Hohl





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


Re: How configure to Multiproject Site references

Posted by vgpande <pa...@yahoo.co.in>.
Hi

when you run the "mvn site" for Maven2 at the application root level, the
command is executed to generate the site at application root level.



James Abley-2 wrote:
> 
> On 20/05/07, Mac Systems <ma...@mac-systems.de> wrote:
>> Hello,
>>
>> actually i wonder how to generate an  Site for an Multiproject ?
>>
>> The (Master) Project Site will be generated for all my Modules but i do
>> not know
>> how to link to each module's site ?
>>
>>
>> Project:
>>
>> pom.xml
>> |
>> |
>>  >Module A
>>         pom.xml
>>     -> target/site/index.html
>>  >Module B
>>         pom.xml
>>     -> target/site/index.html
>>  >Module C
>>         pom.xml
>>     -> target/site/index.html
>>
>>
>> regards,
>> Jens Hohl
>>
> 
> I've used the <url/> element in each module's pom.
> 
> <url>../../Module A/target/site/</url>
> 
> It works fine for builds locally.
> 
> Cheers,
> 
> James
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-configure-to-Multiproject-Site-references-tf3787163s177.html#a10719982
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: How configure to Multiproject Site references

Posted by James Abley <ja...@gmail.com>.
On 20/05/07, Mac Systems <ma...@mac-systems.de> wrote:
> Hello,
>
> actually i wonder how to generate an  Site for an Multiproject ?
>
> The (Master) Project Site will be generated for all my Modules but i do
> not know
> how to link to each module's site ?
>
>
> Project:
>
> pom.xml
> |
> |
>  >Module A
>         pom.xml
>     -> target/site/index.html
>  >Module B
>         pom.xml
>     -> target/site/index.html
>  >Module C
>         pom.xml
>     -> target/site/index.html
>
>
> regards,
> Jens Hohl
>

I've used the <url/> element in each module's pom.

<url>../../Module A/target/site/</url>

It works fine for builds locally.

Cheers,

James

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