Factorize common build requirements to parent pom.

Parent pom should be available in Maven central in 2 hours max.
Merge branch 'master' into nicolasf