Hi,
I have a hierarchy of projects using the standard <modules /> and <parent />
approach in their respective pom.xml files. I would like to generate sites
for each of them, but use a single common site.xml for all of them. I can
check in the exact same file in src/site/site.xml in every project, but that
seems like the completely wrong approach. What I'm really trying to do is
replace the default-site.xml from the site plugin so that the same one is
used all throughout my hierarchy. I'll use ${project.name} etc. to ensure
that the sites for each project are appropriately customized. Is there a
way to do this?
On a related note, the ${parentProject} and ${modules} macros don't seem to
produce anything, either when used from default-site.xml or my own
src/site/site.xml. In the archives of this list saw some references to this
being fixed in maven 2.0.2, but it does not seem to work in 2.0.3-SNAPSHOT
as of a few days ago, which is what I am currently using.
Thanks,
-D