Building DbUnit
Overview
Building DbUnit is quite simple. You need the following software installed:
- Java SE SDK 8+
- Maven 3
- Git client
Once you have them all, you can build DbUnit by just typing mvnw! The items below describe every step.
Generating the JAR
- Install Java SE SDK and Maven.
- Obtain DbUnit code, either current or released source (see Quick Links on left menu)
- On the root directory, simply type
mvnwin the command line. (If you need to clean up the binaries, runmvnw clean installinstead.) The jar file will be generated in the target directory.
Creating the site
Run mvnw site in the command line; the site will be available on target/site/index.html. Note that you might get an OutOfMemoryExceptionError; if that happens, you must increase the heap size through the MAVEN_OPTS variable (for instance, on Unix systems, you could run MAVEN_OPTS=-mx512M mvnw site).

