Notes on running the tests with Derby's Embedded Server 1) The default goal (torque-test:run) will fail with the embedded driver because it is hard to shutdown the embedded server between operations. In order to test the embedded driver, the four sub-goals need to be run separately. E.g: maven -Dtorque.test.profile=derby torque-test:pre-test maven -Dtorque.test.profile=derby torque-test:test maven -Dtorque.test.profile=derby torque-test:post-test1 maven -Dtorque.test.profile=derby torque-test:post-test2 2) The Bookstore database directory should be manually deleted between test case runs because some tables can not be dropped.