This Plugin simplifies RevGen code generation in the Maven 2 build environment by automatically starting the Hypersonic database.
To add this plugin to your Maven 2 build process, add the following to the <build><plugins> section of your pom.xml file:
<plugin>
<groupId>org.javagen.revgen</groupId>
<artifactId>maven-hsql-plugin</artifactId>
<version>1.0</version>
</plugin>To run the database during the RevGen code generation phase, type:
mvn hsql:start revgen:revgen
To run the database during the test phase, type:
mvn hsql:start test
For an cut-and-paste way to run Hypersonic from the command line, type:
mvn hsql:help