Skip to content

Commit

Permalink
added clean plugin to delete bitronix/h2 leftover files in order to e…
Browse files Browse the repository at this point in the history
…nsure accurate test results
  • Loading branch information
Marco Rietveld committed Nov 12, 2011
1 parent 035e423 commit 023eea8
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions drools-persistence-jpa/pom.xml
Expand Up @@ -56,6 +56,32 @@
</instructions>
</configuration>
</plugin>
<plugin>
<!-- ensure that db files are deleted before _any_ run
otherwise we get tests failing because of leftover db's -->
<artifactId>maven-clean-plugin</artifactId>
<version>2.4.1</version>
<configuration>
<filesets>
<fileset>
<directory>${basedir}</directory>
<includes>
<include>btm*</include>
<include>JPADroolsFlow.h2.db</include>
</includes>
</fileset>
</filesets>
</configuration>
<executions>
<execution>
<id>auto-clean</id>
<phase>initialize</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 023eea8

Please sign in to comment.