Support maven mirror with authentication

Description

Per https://ask.clojure.org/index.php/10416/support-maven-mirror-with-authentication

The Clojure tools.deps resolves remote Maven repositories, and generally obeys the Maven settings.xml. Unfortunately, in the following settings example, it will not pickup the authentication for the mirror. According to Maven convention, the mirror's Id should be used to determine the server settings, in this case "planetmirror.com"

The reason is that the code in tools.alpha.util.maven.clj uses the repository name to find the server-settings:

The following patch fixes the issue:

Environment

None

Activity

Show:
Alex Miller
April 22, 2021, 6:26 PM

Applied for next release

Assignee

Unassigned

Reporter

Alex Miller

Labels

Approval

Triaged