Fix pom.xml and db connection config.