Hi there, 

I'm having a multimodule project with flat directory layout
./root
./module1

The generated site then also is in a flat layout directory:
./site/root
./site/module1

(using help:effective-pom also shows that these are the automatically 
generated distribution-urls for the childs, so the site plugin just does 
what it's told to do)

First I did have some troubles with the links between parent and module, 
but this bug was fixed in the meantime (MSHARED-180) in the 2.3-SNAPSHOT 
of the site-plugin.
Now I'm having trouble with the dashboard-plugin - this one also has a 
detailed report for the parent project with links to the child-projects 
(which are relative and not working).
The dashboard plugin currently expects a folder structure like

./site/root
./site/root/module1 

for its links to work. I already created a bug report for that (
http://jira.codehaus.org/browse/MOJO-1630) and you can also find the poms 
as an example there.

Now I'm wondering if I can influence the generated site layout myself as a 
workaround.
I don't want to use an absolute distributionManagement.site.url in the 
child project of course. For obvious reasons the effective distributionURL 
should only be configured in the parent.

I already tried the following in the child
<distributionManagement>
  <site>
    <url>${project.parent.distributionManagement.site.url}/subdir</url>
  </site>
</distributionManagement>

but for some reason the property is not resolved and I get an 
error-message, that the url is invalid.

Any other hints about how I could influence the site directory layout 
without specifying duplicated absolute paths in the child projects?

Thanks a lot
Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to