You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Ramon Havermans (JIRA)" <ji...@codehaus.org> on 2008/02/15 12:27:29 UTC

[jira] Created: (MSITE-297) Child site.xml not used from parent + inheritance

Child site.xml not used from parent + inheritance
-------------------------------------------------

                 Key: MSITE-297
                 URL: http://jira.codehaus.org/browse/MSITE-297
             Project: Maven 2.x Site Plugin
          Issue Type: Bug
          Components: multi module
    Affects Versions: 2.0-beta-6
            Reporter: Ramon Havermans


When using a parent child project building from the parent, the child site.xml is not used. Instead I get the parent lay-out with menu's I don't want and links that won't work. 

-- 
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

        

[jira] Commented: (MSITE-297) Child site.xml not used from parent + inheritance

Posted by "Ramon Havermans (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_123773 ] 

Ramon Havermans commented on MSITE-297:
---------------------------------------

To reproduce:

* Make parent
** Make parent site.xml
** Give parent his own menu (ParentMenu)
* Make child
** Make child site.xml
** give child own menu (ChildMenu)

If you do a mvn site-deploy and look at the child it will have a ParentMenu which you don't want and it doen't have a ChildMenu which you do want.

> Child site.xml not used from parent + inheritance
> -------------------------------------------------
>
>                 Key: MSITE-297
>                 URL: http://jira.codehaus.org/browse/MSITE-297
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>          Components: multi module
>    Affects Versions: 2.0-beta-6
>            Reporter: Ramon Havermans
>
> When using a parent child project building from the parent, the child site.xml is not used. Instead I get the parent lay-out with menu's I don't want and links that won't work. 

-- 
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

        

[jira] Closed: (MSITE-297) Child site.xml not used from parent + inheritance

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSITE-297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg closed MSITE-297.
---------------------------------

    Resolution: Duplicate

> Child site.xml not used from parent + inheritance
> -------------------------------------------------
>
>                 Key: MSITE-297
>                 URL: http://jira.codehaus.org/browse/MSITE-297
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>          Components: multi module
>    Affects Versions: 2.0-beta-6
>            Reporter: Ramon Havermans
>
> When using a parent child project building from the parent, the child site.xml is not used. Instead I get the parent lay-out with menu's I don't want and links that won't work. 

-- 
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

        

[jira] Commented: (MSITE-297) Child site.xml not used from parent + inheritance

Posted by "Ramon Havermans (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_123771 ] 

Ramon Havermans commented on MSITE-297:
---------------------------------------

Forget the last comment, was doing something wrong

> Child site.xml not used from parent + inheritance
> -------------------------------------------------
>
>                 Key: MSITE-297
>                 URL: http://jira.codehaus.org/browse/MSITE-297
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>          Components: multi module
>    Affects Versions: 2.0-beta-6
>            Reporter: Ramon Havermans
>
> When using a parent child project building from the parent, the child site.xml is not used. Instead I get the parent lay-out with menu's I don't want and links that won't work. 

-- 
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

        

[jira] Commented: (MSITE-297) Child site.xml not used from parent + inheritance

Posted by "Martin Burger (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=135386#action_135386 ] 

Martin Burger commented on MSITE-297:
-------------------------------------

Duplicate of MSITE-262 and MSITE-293?

I have similar problems with 2.0-beta-6 and current 2.0-beta-7-SNAPSHOT from SVN (Revision: 657789). In 2.0-beta-5 the children's site.xml is respected, but in the other versions it is completely ignored: All menus defined in parent POM are shown in submodules (but should not). Furthermore, all other tags like bannerLeft and poweredBy are not overwritable in submodule's POM.

> Child site.xml not used from parent + inheritance
> -------------------------------------------------
>
>                 Key: MSITE-297
>                 URL: http://jira.codehaus.org/browse/MSITE-297
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>          Components: multi module
>    Affects Versions: 2.0-beta-6
>            Reporter: Ramon Havermans
>
> When using a parent child project building from the parent, the child site.xml is not used. Instead I get the parent lay-out with menu's I don't want and links that won't work. 

-- 
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

        

[jira] Commented: (MSITE-297) Child site.xml not used from parent + inheritance

Posted by "Ramon Havermans (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_123769 ] 

Ramon Havermans commented on MSITE-297:
---------------------------------------

Another problem is that the content (dependencies) in the modules are wrong (I think they are from the parent).

Switching back to 2.0-beta-5 did resolve the issue, but at that version siteDirectory doens't work.

> Child site.xml not used from parent + inheritance
> -------------------------------------------------
>
>                 Key: MSITE-297
>                 URL: http://jira.codehaus.org/browse/MSITE-297
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>          Components: multi module
>    Affects Versions: 2.0-beta-6
>            Reporter: Ramon Havermans
>
> When using a parent child project building from the parent, the child site.xml is not used. Instead I get the parent lay-out with menu's I don't want and links that won't work. 

-- 
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

        

[jira] Commented: (MSITE-297) Child site.xml not used from parent + inheritance

Posted by "Rodrigo Ruiz (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131725#action_131725 ] 

Rodrigo Ruiz commented on MSITE-297:
------------------------------------

This is a very annoying one. In one of my multi-module projects, with 5 child projects I have to do:

[at parent] mvn site site:deploy
[at child 1] mvn clean site site:deploy
...
[at child 5] mvn clean site site:deploy

Each sub-project has its own unit and integration testsuites, and the sites include cobertura and findbugs reports, which make the process of deploying a site extremely slow.



> Child site.xml not used from parent + inheritance
> -------------------------------------------------
>
>                 Key: MSITE-297
>                 URL: http://jira.codehaus.org/browse/MSITE-297
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>          Components: multi module
>    Affects Versions: 2.0-beta-6
>            Reporter: Ramon Havermans
>
> When using a parent child project building from the parent, the child site.xml is not used. Instead I get the parent lay-out with menu's I don't want and links that won't work. 

-- 
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