Jules Gosnell wrote:
Bratek,
http://wadi.codehaus.org
http://svn.wadi.codehaus.org/viewrep/wadi/trunk/wadi
have a look at what we have done...
errr - if you did - have another look :-)
I just figured a few more things out. As a result, we now have
site:deploy working properly. Top-level and sub-modules are still
x-linked in the same way...
Our modules live in a modules dir and are not named using there full
artefactId. After figuring out a few more mvn defaults, I shall be
moving them into the top-level and renaming their dirs to their
artefactIds. I think this should mean that the module pom scm elements
default properly and I expect more issues will fall out in the wash...
i.e. wadi/modules/core --> wadi/wadi-core
regards,
Jules
our site is generated by ./modules/site/pom.xml.
modules do the <reporting/> into an <outputDirectory/> - the
modules/site/target/... dir
Modules are linked to from the top-level by an index provided by
./modules/site/src/site/site.xml and link back via their own site.xml.
This is not ideal as automatic site deployment doesn't seem to work -
I deploy the site manually, and we still get an empty site generated
by the top-level pom that is not used... but it means that you can
browse the site locally after it is built, tar it up and copy it over.
We are getting there...
if you find a better way to do any of this, please drop me a mail :-)
you may also want to check out other threads I have kicked off
recently about aggregating clover, javadoc and junit reports at the
top-level - in conclusion, for various reasons, I can't get any of
these to work :-(
Jules
Lee Meador wrote:
I don't think it can be done automatically. You can put a site.xml
file in
each of the projects that has links to the other projects. I do this
to put
additional links in the left sidebar of the site that allows me to click
around from project to project.
It's just barely good enought for me.
Thanks.
-- Lee
On 4/11/06, Bratek <[EMAIL PROTECTED]> wrote:
Hi,
I have a Maven project that contains several modules (separate
directories
and pom files). When I run site goal Javadocs are generated in each
module's
directory. The problem is that the main project knows nothing about
those
docs - there is no link to any of the modules.
I tried to search the Internet but I couldn't find any comprehensive
documentation on the subject - just some bits and ends. If you know
how to
make this work, please let me know. Thank you,
Bratek
--
View this message in context:
http://www.nabble.com/Maven-site-javadoc-problem-t1431946.html#a3862183
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
-- Lee Meador
Sent from gmail. My real email address is [EMAIL PROTECTED]
--
"Open Source is a self-assembling organism. You dangle a piece of
string into a super-saturated solution and a whole operating-system
crystallises out around it."
/**********************************
* Jules Gosnell
* Partner
* Core Developers Network (Europe)
*
* www.coredevelopers.net
*
* Open Source Training & Support.
**********************************/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]