You can add a postGoal to clean:clean to get rid of them:

  <postGoal name="clean:clean">
    <delete>
      <fileset dir="${basedir}" includes="junit*.properties"/>
    </delete>
  </postGoal>

I do that to get rid of some files like maven.log and velocity.log.

  Jeff

On Wed, 23 Jun 2004, at 17:03:36 [GMT +0200] Maarten Coene wrote:

> Hi,

> everytime I execute my unit tests, maven creates a new file in my 
> basedir, e.g. "junit458743546.properties". These files never gets 
> deleted, so if you don't do this manually, after a while the basedir 
> contains a lot of these files. How can I tell the test-plugin to stop 
> generating this file, or how can I tell the clean-plugin to delete this 
> file?

> I'm using maven RC3.

> thanks,
> Maarten

-- 
mailto:[EMAIL PROTECTED]



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

Reply via email to