Franz, what can I do if there are, for example, two more directories:
src/main/java/trash1
src/main/java/traxh2
and I'd like only to compile the files inside trunk and branches
directories?
How can I tell Maven  not to compile files in trash1 and trash2 directories?
Tanks a lot in advance.
Regards,
Roberto.


On 1/15/07, franz see <[EMAIL PROTECTED]> wrote:


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]


Reply via email to