Hi all. I'm trying out the site generation functionality of maven. I
have a parent project which contains 2 child projects. So, my parent
POM looks like
<modules>
<module>child1</module>
<module>child2</module>
</modules>
The child projects are in a subdirectory of the parent project. So
the file directory look like
parentProject
parentProject/child1
parentProject/child2
So, each project will use it's own target directory. When I run mvn
site, I see the generated html in the following directories:
parentProject/target/site
parentProject/child1/target/site
parentProject/child2/target/site
So, each directory has valid HTML in it.
When I look in the HTML for the parent project, I can see the the
correct list of modules, but when I click on it, the URL is incorrect.
The URL it's using is
file:///I:/parentProject-src/trunk/parentProject/target/site/child1/index.html
where I would've expected
file:///I:/parentProject-src/trunk/parentProject/child1/target/site/index.html
I've generated the doco, but I haven't deployed it into a server
environment (I'm just reading it in my development environment). Will
this be corrected when the doco is deployed? Is there a way I can
deploy it to another directory on my environment (instead of to a
server) so I can check what the final doco looks like?
Thanks for any help,
Ed
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]