If you ever find the need to compile H2 database yourself to install it in your local Maven repository, here are the steps:
svn checkout http://h2database.googlecode.com/svn/trunk/ h2database-read-only
Your custom H2 build is now installed in your local Maven repository as version 1.0-SNAPSHOT. Include it as a dependency in your project by adding the appropriate XML to your pom.xml:
I had to do these steps in order to test a fix I am preparing for H2 to solve the "SET NAMES" syntax error in MySQL compatibility mode when connecting to H2 using the Quercus PHP MySQL driver.