I'm surprised at how difficult it is to get the java:compile goal to operate on more than one source directory. See http://wiki.codehaus.org/maven/FrequentlyAskedQuestions#head-7545bdc005f855e 6b2009275529746f011a9ebcd.
Why not just allow the build element to contain more than one sourceDirectory element? ------------------------------------------------------------------------------------- A.G. Edwards & Sons' outgoing and incoming e-mails are electronically archived and subject to review and/or disclosure to someone other than the recipient. -------------------------------------------------------------------------------------
