How to fix when I get a HTTP repository blocked? If the repository is defined in your pom.xml, please fix it in your source code.
If the repository is defined in one of your dependencies POM, you'll get a message like: [ERROR] Failed to execute goal on project test: Could not resolve dependencies for project xxx: Failed to collect dependencies at my.test:dependency:version -> my.test.transitive:transitive:version: Failed to read artifact descriptor for my.test.transitive:transitive:jar:version: Could not transfer artifact my.test.transitive:transitive:pom:version from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [blocked-repository-id (http://blocked.repository.org, default, releases+snapshots)] Options to fix are: upgrade the dependency version to a newer version that replaced the obsolete HTTP repository URL with a HTTPS one, keep the dependency version but define a mirror in your settings.