Building DbUnit is quite simple. You need the following software installed:
Once you have them all, you can build DbUnit by just typing mvnw! The items below describe every step.
mvnw
in the command line. (If you need to clean up the binaries, run mvnw clean install
instead.) The jar file will be generated in the target directory.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
).
Once new code is committed, it is necessary to update the Maven repository with new snapshots, and also update the site. These 2 tasks can be done with a simple command:
mvnw clean source:jar javadoc:jar deploy site site:deploy