Good day to you, Roberto, If you have something like src/main/java/trunk and src/main/java/branches, you can simply do
<project> ... <build> <sourceDirectory>src/main/java/trunk</sourceDirectory> </build> </project> Cheers, Franz Roberto UserList wrote: > > Hi, all! > I'd like to compile a subproject with Maven2 but i'd like not to compile > files of all directory branches. How can I exclude a specific source > directory? > Tahnks in advance for help. > Regards, > Roberto. > > -- View this message in context: http://www.nabble.com/Excluding-source-directory-branches-during-compilation-tf3013910s177.html#a8373047 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]