Questions tagged [maven-mirroring]

6 questions
83
votes
11 answers

Getting "Blocked mirror for repositories" maven error even after adding mirrors

In my past project I had a problem with dependencies starting with http, just like this one Maven Build Failure -- DependencyResolutionException . Solution was to add mirrors for the project worked fine. Though now on another project I use the same…
aratata
  • 1,147
  • 1
  • 6
  • 22
2
votes
3 answers

How to reliably use a local Maven mirroring proxy with docker-compose?

I am working to migrate our Maven build process into Docker for our existing Java projects. I am an experienced Java developer using Maven, but still learning Docker. Our primary problem is that by default artifacts are not cached so we download…
Thorbjørn Ravn Andersen
  • 73,784
  • 33
  • 194
  • 347
1
vote
0 answers

Proper way to preconfigure Nexus3 to mirror our internal repository when running in Docker?

We have a set of legacy Gradle projects that I am working on migrating to building in Docker. Unfortunately they download quite a bit of Maven artifacts from our internal Artifactory server for every build, which is rather slow when working remotely…
1
vote
1 answer

How to use Google mirror for Maven Central as a direct link to download an artifact/jar?

I am using a shell script to download a number of jar files from maven central repo using direct links (e.g. - this link). I read on a couple of sources that Google hosts a publicly available copy of all the Maven Central artifacts and using it…
Karttik Mishra
  • 150
  • 2
  • 14
1
vote
2 answers

Maven - How to use two mirrors

I have to use two mirrors. In .m2/settings I have nexus_xyz * https://../ nexus_wso2 *
ayasha
  • 1,221
  • 5
  • 27
  • 46
0
votes
2 answers

How to force maven to get dependencies from another nexus repositorie

I am trying to build my project including these two dependencies : org.cytoscape vizmap-api 3.6.0
ErEcTuS
  • 777
  • 1
  • 14
  • 33