Missing url tag in (parent) pom make it ignore the site inheritence system
--------------------------------------------------------------------------

                 Key: MSITE-180
                 URL: http://jira.codehaus.org/browse/MSITE-180
             Project: Maven 2.x Site Plugin
          Issue Type: Bug
    Affects Versions: 2.0-beta-5
            Reporter: Geoffrey De Smet


IF none of the poms (module or parent) don't have an url tag, like this:

<project ...>
  ...
  <url>...</url>
  ...
</project>

(It doesn't matter if they have url tags in scm, distribution etc)


THEN site inheritence quitely isn't applied, for example in the parent's 
site.xml

        <menu name="Blogs" inherit="bottom">
            <item name="maven" href="http://www.mavenblogs.org/"/>
        </menu>

isn't inherited in the childe module's site.


proposed solutions:

 - or fix it :)
 - or document this wanted behaviour in the site plugin's documentation at
http://maven.apache.org/plugins/maven-site-plugin/howto.html
with something like
"Site inheritence only works if you have a url tag in your parent pom."
because this can cost people many hours - it did for me

But once site inheritence works, it's very nice though :)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to