Mike Sluyter wrote:
I've just started using maven and I think it's awesome; I've gotten it to
build multiple projects with the reactor, but our projects are
interdependent, and when multiproject is used to generate the javadoc, the
resulting javadocs are partitioned by project. Ie, there's no
crossreferencing, which would be nice. Is that possible via some other
mechanism, or am I missing something? I tried googling it and found a
similar question but no definitive answer. I looked at Maven's javadoc, and
it doesn't appear to be crossreferenced across projects either, so perhaps
there's no easy solution to this. Just curious.


Here's a hack which I used to solve this problem. I'd imagine that this javadoc is
being put online somewhere, right? So just add the URL of your destination for the
javadoc to the maven.javadoc.links property.


For example, I knew I was deploying my site so it was accessible as http://somewhere/project,
with the subproject directories underneath, so I put this in my project.properties:


maven.javadoc.links=http://somewhere/project/project1/apidocs, http://somewhere/project/project2/apidocs

Like I said, it's a hack.  Not very flexible, but it does the job.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to