Make the list of resolvers depend on the list of available repositories (especially: don't add the Maven resolver if there's no Maven repository)
Merge branch 'dynamic-resolvers'