Yes, sourceModifications is exactly what I need. Actually, I don't need to do quite so much as sniff the env and adjust accordingly.

I just need a goal which will add an exclusion (**/*Bean.java) to sourceModifications. Any idea how to do this?

-Randy

John Casey wrote:

On the off chance you're trying to sniff the environment and adjust accordingly, you can try injecting a new sourceModification programmatically, but you may have to rebuild the compile.src.set...dunno about that. I believe there is (there used to be) a driver.jelly in the maven.jar that builds this stuff up...I once had to duplicate part of this file in my maven.xml to account for ${sourcesPresent}, I think...

Anyway, sorry for the vague post, and good luck.

-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]



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



Reply via email to