On 04/09/2009, at 11:33 PM, David Hoffer wrote:

Do you know of a way, using gmaven, to drop a folder containing files and/or subfolders? Currently I consider my solution to be a hack because its bad enough that the logic of what to cleanup is not in the test case source file, but when I have to manually specify each and every file to delete it's
a hack.  This will never stay in sync over time.

If I could put all my temp test files/folders in a folder called 'tmp' and
then just drop 'tmp' using gmaven that's less of a hack.


I think you'd be better off configuring an instance of the clean plugin instead of gmaven if all you want to do is delete a directory. It can take an arbitrary set of files / directories to clean.

You are right on the lifecyle, I forgot that I had set a phase...I'll change it to 'test'. I always get confused on this issue...do plugins ALWAYS run
AFTER the phase they are attached to?

No, they run in that phase, but are added after any already specified (so after anything built in).

- Brett


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to