Hi,
I have a pom file called export-partial-database.xml which exports two tables
resulting from a specified query
and the entire content of another table.
When I invoke the pom file without a goal it works fine:
mvn -f export-partial-database.xml
But when I invoke the pom file with the dbunit:export goal, it seems to ignore
queries
and tables configurations.
mvn -f export-partial-database.xml dbunit:export
Why is that? Is that a bug????
The xml snippet follows:
<!--
Export two tables: WEATHER_STN_SUBSET_AND_PNODE, resulting from
specified query and PNODE entire content.
-->
<execution>
<id>export</id>
<phase>test</phase>
<goals>
<goal>export</goal>
</goals>
<configuration>
<format>xml</format>
<dest>${exportedDataSetFile}</dest>
<schema>${schema}</schema>
<skipOracleRecycleBinTables>true</skipOracleRecycleBinTables>
<queries>
<query>
<name>WEATHER_STN_SUBSET_AND_PNODE</name>
<sql>select EXTERNAL_ID, NAME, DESCRIPTION from WEATHER_STN</s
ql>
</query>
</queries>
<tables>
<table>
<name>PNODE</name>
</table>
</tables>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
Thanks,
Carol