There was a thread yesterday on multiple source directories, but I can 
not join it since I just joined the list.

I am trying to convert a number of (interrelated) projects to maven, and 
some of them do code generation with xdoclet, to a separate 
'gen-src/java' directory (as opposed to the 'src/java/main' and 
'src/java/test' dirs that I use for normal and test java sources. In
maven b6, are my only two options really
  1) define extra projects to bring this source into the build? Where 
each source tree in a project is a separate module, I can see it making 
some sense to make each a maven project, but in this case, it's way 
overkill.
  2) define a pre goal of some sort that merges all the source from 
'src/java/main' and 'gen-src/java' into another tree entirely, just for 
maven? This is workable, but seems pretty convoluted and would slow down 
the whole build to some extent.

W/regards to bringing xdoclet into the build itself, I presume the best 
way is to use a preGoal to compile, or something similar?

Thanks for any tips,
Colin



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

Reply via email to