Moved common dependencies and configuration to parent pom.