add --force-yes when installing maven3 because it is not authenticated.