Hello,
ist me (mac) from other mail Adress:
Actually I have some problems to get this really working.
I tried mvn site:run which results that the 'master' Website
Is available through localhost. But I have same problems
To reference to the sub-projects.
In my site.xml I link via relative path like this:
<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="Maven">
<bannerLeft>
<src>http://maven.apache.org/images/apache-maven-project.png</src>
<href>http://maven.apache.org/</href>
</bannerLeft>
<bannerRight>
<src>http://maven.apache.org/images/maven-small.gif</src>
</bannerRight>
<body>
<menu name="Subprojects">
<item name="Project 1"
hef="../../Project1/target/site/index.html"/>
<item name="Project 2"
href="../../Project2/target/site/index.html"/>
</menu>
<menu ref="reports"/>
</body>
</project>
------------------------------
The generated Site links like this to the Subprojekts:
<li class="none">
<a href="../../Project1/target/site/index.html">Project1</a>
</li>
All result in a 404 Error.
Anyone can help me, may I need some complete other solution for that ?
Actually I think how to structure this to deploy on a Webserver ...
Regards,
Jens
-----Ursprüngliche Nachricht-----
Von: vgpande [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 21. Mai 2007 16:31
An: [email protected]
Betreff: Re: How configure to Multiproject Site references
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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]