This is probably easy once you know how :-) I need to restrict the source path that Maven passes to javac. I have a directory structure something like

src
+ net
| + ...
+ tools
| + some-tool
| | + src
| | | + net
| | | + ...
....

If I tell Maven to use 'src' as the value for sourceDirectory in project.xml, it finds Java files in other sub-directories too. What I want to say is '<sourceDirectory includes="net/**/*.java">src</...' but that doesn't work.

Is there a way to do this? I tried creating a preGoal in maven.xml but couldn't see what to set to get the required behaviour.

Thanks,

L.


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

Reply via email to