Issue Details (XML | Word | Printable)

Key: MSITE-262
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Dennis Lundberg
Reporter: Cameron Jones
Votes: 5
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
Maven 2.x Site Plugin

site.xml not inherited if build run from parent

Created: 17/Oct/07 02:32 PM   Updated: 18/Jan/09 09:39 AM
Component/s: inheritance
Affects Version/s: 2.0-beta-6
Fix Version/s: 2.0-beta-7

Time Tracking:
Not Specified

File Attachments: 1. Zip Archive MSITE-262.zip (6 kB)

Issue Links:
Duplicate
 
Related
 


 Description  « Hide
I've seen that the site.xml is not being inherited in a module when the build is run from the parent - when run from the module itself the inheritance works correctly.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Dennis Lundberg added a comment - 04/Nov/07 04:38 AM
Can you provide us with an example of this? Preferably a complete project with pom.xml and site.xml files.

Cameron Jones added a comment - 06/Nov/07 08:43 AM - edited
Here's a project which displays the behavior. If run from the parent as a recursive build the module's site menu doesn't contain the inherited parent menu.

Stefan Seidel added a comment - 05/Feb/08 03:20 AM
This was still working in 2.0-beta-5 and is still not working in 2.0-beta-7-SNAPSHOT.

Alexandre Navarro added a comment - 03/Mar/08 01:55 PM
I have the same problem with 2.0-beta-6.

Martin Burger added a comment - 19/May/08 09:20 AM
Duplicate of MSITE-293 and MSITE-297?

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.


Dennis Lundberg added a comment - 07/Jun/08 05:16 AM
Thanks to the fix for MSHARED-18, Cameron's sample project now work correctly with the latest 2.0-beta-7-SNAPSHOT.

Ian added a comment - 17/Jan/09 05:54 PM
How come this is listed as fixed?

I have version 2.0.7, and I tried 2.0.9, and I still get the same issues with the child site.xml files not being read at all.


Dennis Lundberg added a comment - 18/Jan/09 09:39 AM
You need to specify version 2.0-beta-7 for Maven Site Plugin. It has nothing to do with which version of Maven you are using.