Despite having installed other packages successfully with brew, I am unable to install maven.
After running brew install maven, I get the following error:
curl: (18) transfer closed with 9103121 bytes remaining to read
Error: maven: Failed to download resource "maven"
Download failed: https://ghcr.io/v2/homebrew/core/maven/blobs/sha256:ff38bb52b93216582dbd13fb00be5679090ac4b66f7e7c5c8cae5f70626238bb
I am using the following versions of brew and git:
$ brew --version
Homebrew 3.3.8
Homebrew/homebrew-core (git revision 7c983d9c784; last commit 2021-12-13)
Homebrew/homebrew-cask (git revision 538992b1fb; last commit 2021-12-13)
$ git --version
git version 2.23.0
When visiting the failed download in my browser, I also get a 403 failure:
{"errors":[{"code":"UNAUTHORIZED","message":"authentication required"}]}
This error is strange to me because I would not think brew dependencies for public taps like for maven would require authorization.