Building a project with a persistence layer for deployment in Karaf