Added a retry for maven too
Added a retry for maven too

spring-cloud-samples/spring-cloud-contract-samples,spring-cloud-samples/spring-cloud-contract-samples,spring-cloud-samples/spring-cloud-contract-samples,spring-cloud-samples/spring-cloud-contract-samples,spring-cloud-samples/spring-cloud-contract-samples