Fix warnings.

Update pom with more specific configuration for build plugins.