Can anyone help me? I am trying to use the dbunit plugin to populate my database with test data using CLEAN_INSERT as part of the test-compile phase. When i execute the phase i see
[INFO] [dbunit:operation {execution: default}] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ but the tables are still empty. I suspect I've screwed up my pom entry: <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>dbunit-maven-plugin</artifactId> <dependencies> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.0.5</version> </dependency> </dependencies> <configuration> <driver>com.mysql.jdbc.Driver</driver> <url>jdbc:mysql://localhost/thc</url> <username>thc</username> <password>password</password> </configuration> <executions> <execution> <phase>test-compile</phase> <goals> <goal>operation</goal> </goals> <configuration> <type>CLEAN_INSERT</type> <src>test_data_dbunit.xml</src> </configuration> </execution> </executions> </plugin> Can anyone help me? Thanks! Toby