During a Maven build’s integration test phase I am populating an in-memory HSQL database based on the performed tests. Afterwards, I would like to capture this state by exporting the database content as SQL statements (for later import).
Is there some Maven plugin or command line tool suitable for this task? For MySQL we are using mysqldump, so I am basically looking for an equivalent for HSQL.
With HSQLDB use:
Example: