Updated pom to fix building and adding dependencies.