0

I have packaged my maven project(Automated Test) with all the required dependencies folder into a docker container and deployed it to the Kubernetes cluster.

Internet is disabled inside the docker container as per the company network policy and my tests keep failing as maven tries to connect to maven central.

Is there any way I can instruct maven to fetch all the required dependencies from the project folder structure instead of going to maven central? Any help is much appreciated.

TBA
  • 2,005
  • 3
  • 10
  • 23
Azhar
  • 1
  • Does this answer your question? [How do I configure Maven for offline development?](https://stackoverflow.com/questions/7233328/how-do-i-configure-maven-for-offline-development) – Karthikeyan Nov 15 '21 at 04:20

0 Answers0