Maven proposes a default directory structure, with Java sources under "src/java", but as far as i know it's possible to customize Maven's defaults by declaring another sources directory in your "project.xml" file and by writing some Jelly script in a "maven.xml" file (to move source files from one directory to another in a preGoal for example...). I did it for a project in my company and it worked without any serious problem. I think you shouldn't adapt your project structure to Maven, but adapt Maven to your project structure and needs. Otherwise Maven can be considered as useless.
Oh that wasn't too much of a hassle.. I have told Maven where to find our directories with src and unitTests etc etc..
The thing why we would have/want to move code is when I want to set up a top-level project and 2 subprojects it's really hard to generate the website.
I could probably find a hack to get it to work properly, but as this is something we would want to do anyway (because it makes quite a bit of sense) I don't think it's worth the effort and go ahead and do it.
Erwin
