On Tue, 2003-04-01 at 10:33, Colin Sampaleanu wrote:I don't understand how you can say Maven doesn't support multiple source directories, what about sourceDirectory, unitTestSourceDirectory, integrationUnitTestSourceDirectory, aspectSourceDirectory? These are all different source directories that are handled by various parts of Maven. To draw the line there seems awfully presumptious. With all due respect to your opinion (that this handles most cases and results in good practices, which I agree), I've been around the block enough to know that I don't know everything. If somebody/an organization has a need to add another source dir that is on an equal basis to the ones above (to be used by a plugin, or whatever), and feel that in their usage this results in a cleaner/better setup, power to them. Unfortunately there is no way to do it. Is Maven development driven by the needs of the users, or the need to enforce your (and in this case mine) idea of best practices at the exclusion of others. If it were a matter of compromising the best way to do it, or introducing large amounts of additional complexity to the setup/build process, I would understand it, but that is not the case here. This attittude should apply in general, not just to this feature.
Jason, can you clarify what the real issue with multiple source directories is?...
Given that Maven already does support multiple source dirs in the only fashion I use them (to separate test sources from non-test sources), and handles generated sources (from the like of xdoclet), I don't personally need anything more for my projects.
Multiple source directories are not supported. The addPath tag is being
abused if people are not using it in conjunction with some generative
process and it will just eventually bite them in the ass. Make their
projects many fold more complex than they have to be, developer
comprehension will drop an order of magnitude and it's generally a
lose/lose situation.
However this restriction seems like a somewhat arbitrary decision notheless,
Far from arbitrary. People can use the addPath tag to work around it and to migrate projects but I certainly don't recommend it ever. At least in the POM more than one source directory will never be supported.
Just my opinion, and I hope I don't come off the wrong way here, I do in general love Maven and what you've done.
Regards, Colin
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
