dbunit-maven-plugin 1.0-SNAPSHOT release supported expressing multiple src files under sources tag, how do you do the same on 1.0-beta-3 version which supports only a single src tag
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>dbunit-maven-plugin</artifactId>
<version>${dbunit-maven-plugin.version}</version>
<executions>
<execution>
<id>populate sample data</id>
<phase>process-test-resources</phase>
<goals>
<goal>operation</goal>
</goals>
<configuration>
<format>flat</format>
<sources>
<source>src/main/resources/seeddata.xml</source>
<source>src/test/resources/testdata.xml</source>
</sources>
<skip>${db.dataset.skip}</skip>
</configuration>
</execution>
</executions>
</plugin>
This improvement is due to MBUNIT-3 which is indeed posterior to the release of 1.0-beta-3. So if you want this feature, either use the 1.0-SNAPSHOT or apply the change in r10226 yourself on the 1.0-beta-3 branch (get the patch for the diffs, apply it and compile your version of 1.0-beta3-patched).
But to be honest, I don’t really get why you don’t use 1.0-SNAPSHOT. If using a SNAPSHOT is a problem, just build a version with a fixed version number.
Update: Surprisingly, it appears that the SNAPSHOT version of the dbunit-maven-plugin is not published in the codehaus snapshot repository. So, you’ll have to checkout the sources and build it yourself to use it. To do so, run the following commands:
It is really strange that the plugin is not available in the snapshot repository, I’m 100% sure it used to be.