I am trying to build a maven project. My other team members are able to build it without issues. I get the following errors:
[WARNING] The POM for org.hectorclient:hector-core:jar:1.0-3 is missing, no dependency information
available
[WARNING] The POM for org.hectorclient:hector-test:jar:1.0-3 is missing, no dependency information
available
Then the build fails with the error: Could not resolve dependencies for the project XYZ. What could be possibly going wrong?
Surely the jar
is missing from your .m2
local repository.
Assuming the dependency is written in the pom.
What I suggest:
Case: When you have internet
mvn install
that will follow your POM.xml
and it will download all the necessary jars.mvn compile
to build.Case: You are having restricted internet connection that is restricting / no Internet
mvn -o compile
I assume it will solve your case.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With