Skip to content

Instantly share code, notes, and snippets.

@alyleite
Last active June 6, 2022 07:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alyleite/474f0b27ed815ba153690b345e8724fa to your computer and use it in GitHub Desktop.
Save alyleite/474f0b27ed815ba153690b345e8724fa to your computer and use it in GitHub Desktop.
maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories
Error:
Could not transfer artifact ... from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: ...
1. Open file ${MAVEN_HOME}/conf/settings.xml and Comment these lines
<mirror>
<id>maven-default-http-blocker</id>
<mirrorOf>external:http:*</mirrorOf>
<name>Pseudo repository to mirror external repositories initially using HTTP.</name>
<url>http://0.0.0.0/</url>
<blocked>false</blocked>
</mirror>
@GauthamBanasandra
Copy link

NIT: "Add these lines" would be more appropriate instead of "Comment these lines"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment