sounds like you're wanting a <sourceModifications> stanza...like this:
<sourceModifications>
<sourceModification>
<className>someClass (can be fake for always modify)</className>
<excludes>
<exclude>**/MyPattern*.java</exclude>
</excludes>
</sourceModification>
</sourceModifications>See http://maven.apache.org/reference/project-descriptor.html#sourceModifications for more.
-john
Randy Xu wrote:
I'd like to create a goal that excludes certain source files during compile.
How can I modify ${pom.build.sourceDirectory} to add an exclusion property?
-Randy
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
