Have you looked at the plugin documentation [1]? <testExcludes/> seems to be what you want.

-Tim

[1] http://maven.apache.org/plugins/maven-compiler-plugin/testCompile-mojo.html

Balasubramanian, Ravi Shankar schrieb:
Hi all,

I am working with maven 2.0.4 and my requirement is as follows:

I have all my test source files in the same directory and all my maven
projects' <testSourceDirectory> points to this directory where all the
source files are available. For a particular maven project, I want to be
excluding a specific source file which would not compile properly under
that project's settings. How do I get this done in maven 2.0.4?
Which plugin should I be configuring ?

Thanks for any help,

Ravi.

"Tough times never last, but tough men do..."




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

Reply via email to