CodexBloom - Programming Q&A Platform

Maven build is implementing on 'Downloading' for a specific dependency in a multi-module project

๐Ÿ‘€ Views: 0 ๐Ÿ’ฌ Answers: 1 ๐Ÿ“… Created: 2025-06-19
maven multi-module dependencies Java

I need help solving I've looked through the documentation and I'm still confused about I'm working with an scenario where my Maven build gets exploring on 'Downloading' for a specific dependency in a multi-module project, specifically for the dependency `com.google.guava:guava:30.1-jre`... I can see that it attempts to download this dependency, but it just hangs indefinitely. I've verified my `settings.xml` for any proxy configurations, and I'm not behind a proxy. The other dependencies seem to download just fine, and this question only occurs on my local machine, while the CI/CD environment builds without any issues. Hereโ€™s a snippet of my `pom.xml`: ```xml <modules> <module>module-a</module> <module>module-b</module> </modules> ``` And in `module-a/pom.xml`, I have: ```xml <dependencies> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>30.1-jre</version> </dependency> </dependencies> ``` Iโ€™ve tried running `mvn clean install -U` to force updates, but that didnโ€™t resolve the scenario. I also attempted to clear the local repository by deleting the `.m2/repository/com/google/guava` directory, yet it still hangs on the same dependency. My Maven version is 3.8.1, and I have JDK 11 installed. Any guidance on this would be greatly appreciated, especially if there are specific settings or configurations I might be overlooking. Any ideas what could be causing this? I'd be grateful for any help.