Groovy has a dependency resolver called Grape which can obtain dependencies from Maven repositories and add them to the project's classpath. I found an example that let me acquire HSQL and Hibernate by adding just one line of code per item. The remaining code in the example creates a database, adds records, queries the data and displays the data.