A plugin to create/drop domains, deploy application and manage resources.
- Put the following dependency in your pom.xml
<plugin>
<groupId>com.lotaris.maven.plugins</groupId>
<artifactId>lotaris-dbunit-maven-plugin</artifactId>
<version>1.0.0</version>
<configuration>
<url>jdbc:mysql://localhost:3306/oneDb/?sessionVariables=FOREIGN_KEY_CHECKS=0&useUnicode=true&characterEncoding=utf-8</url>
<username>oneDbUser</username>
<password>oneDbPassword</password>
<src>src/main/resources/sample-data.xml</src>
<clearAllTables>true</clearAllTables>
<driver>com.mysql.jdbc.Driver</driver>
<type>CLEAN_INSERT</type>
<dataTypeFactoryName>org.dbunit.ext.mysql.MySqlDataTypeFactory</dataTypeFactoryName>
<excludeEmptyTables>true</excludeEmptyTables>
</configuration>
<executions>
<execution>
<id>dbunit</id>
<phase>integration-test</phase>
<goals>
<goal>operation</goal>
</goals>
</execution>
</executions>
</plugin>
- Java 6+
- Fork
- Create a topic branch -
git checkout -b feature
- Push to your branch -
git push origin feature
- Create a pull request from your branch
Please add a changelog entry with your name for new features and bug fixes.
lotaris-dbunit-maven-plugin is licensed under the MIT License. See LICENSE.txt for the full text.