You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ad...@bt.com on 2007/01/15 16:50:50 UTC

site top level page not linking to children correctly

I am setting up a multi-module project in Maven and want to get the
web-site functionality working. I seem to have the basics, but my top
level page has hyperlinks to the 'child' modules, but they're all
pointing at http://maven.apache.org/index.html.

When I type mvn site, I do get an error:

[WARNING] No URL defined for the project - decoration links will not be
resolved

Which sounds like it could be relevant?

Can anyone help with this?

Thanks,

Adrian Smith
BT Group

Re: site top level page not linking to children correctly

Posted by Dennis Lundberg <de...@apache.org>.
You need to define the <url> element in both parent and child POMs. The 
value of these tags are used to create the links between the parent and 
child sites.

-- 
Dennis Lundberg

adrian.p.smith@bt.com wrote:
> I am setting up a multi-module project in Maven and want to get the
> web-site functionality working. I seem to have the basics, but my top
> level page has hyperlinks to the 'child' modules, but they're all
> pointing at http://maven.apache.org/index.html.
> 
> When I type mvn site, I do get an error:
> 
> [WARNING] No URL defined for the project - decoration links will not be
> resolved
> 
> Which sounds like it could be relevant?
> 
> Can anyone help with this?
> 
> Thanks,
> 
> Adrian Smith
> BT Group
> 


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