Fixed maven3 pom warnings.

- Declaring version for all plugins
- using project.build.outputDirectory rather than just build.outputDirectory