In-Memory Database Maven Plug-in

This plug-in provides the goals to launch and shutdown an embedded H2, HSQLDB or Apache Derby database that is running in-memory only. During launch the database can be seeded using DDL/DML scripts and/or DBUnit data sets.

Goals Overview

  • inmemdb:run Start the in-memory database and optionally load data from DDL/DML scripts or DBUnit data sets.
  • inmemdb:stop Stop the embedded server and drop the in-memory database.


Instructions on how to use the In-Memory Database Maven Plugin can be found here.


To provide you with better understanding of some usages of the In-Memory Database Maven Plugin, you can take a look into the following examples: