Updated pom, fixed some warnings.