Factorize common build requirements to parent pom.

Parent pom should be available in Maven central in 2 hours max.
merged changes done on github