'Java freezes when searching for maven dependency

I am using the newest version of Maven Eclipse and whenever I have been able to get one dependency for what I am working on, but whenever I try to add a second Eclipse just shows "Searching Repository" and eventually freezes. I have tried changing my preferences to make sure that the indexes update upon startup, I have enough storage space on my hard drive, I have enabled full index, and I have also tried rebuilding the indexes as well. I am on a windows computer.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source