At 16:21 28/08/2002 -0400, Downey, Kyle wrote:

>For the project I'm converting to Maven there are multiple source
>directories because it's broken into distinct modules that build their own
>JARs (and each has its own third-party library dependencies, which are
>handled in the existing build.xml files). What are my options if I want to
>create a Maven site that has CVS, style and other reports plus Javadocs for
>all five modules?

A project that I work on has almost exactly the same structure, the 
solution I use is to treat each module as a separate maven project.  In 
effect it generates a multi-maven site, e.g. modules.geotools.org/core with 
the breadcrumb navigation bar providing links between modules (can anyone 
think of a way to generate them automatically?)

The nice thing about this approach is that you do get separate jars for 
each module, and you also get to control the dependances for each one.

With b4 this was a little tricky but with the project inheritance in b5 and 
b6 it should be much easier.  The reactor system should also allow you to 
control the building of all five of your modules in the right order but 
I've not looked at the state of the reactor recently so I'm not sure how 
functional it is yet.

Sorry if this is a little woolly, I'm a maven user not a developer.

James



-- 
James Macgill
Center for Computational Geography
Spell Checker (c) Creative Spelling inc (aka my dyslexic brain)
http://www.geotools.org  the open source java mapping toolkit.





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

Reply via email to