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. 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? -Dave On Fri, Sep 4, 2009 at 12:14 AM, Brett Porter <br...@apache.org> wrote: > > On 04/09/2009, at 4:04 PM, David Hoffer wrote: > > Do you know of any example of using the 'exec plugin from the test phase >> in >> the POM '? >> >> Currently the workaround I have found is to use the GMaven plugin that >> deletes the DB. However I don't have known control over when this >> runs...it >> just happens to work at the moment. >> > > That's an equivalent solution. Adding <phase>test</phase> inside that > execution is the right place. > > >> BTW, do non-lifecyle bound plugins run in order they are specified in the >> pom? >> > > All plugins are lifecycle bound if they are run via the POM. > > > - Brett > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >