【发布时间】:2010-01-28 09:15:29
【问题描述】:
dbunit-maven-plugin 1.0-SNAPSHOT 版本支持在sources标签下表达多个src文件,你如何在仅支持单个src标签的1.0-beta-3版本上做同样的事情
<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>
【问题讨论】: