I am setting up a project in eclipse . This projects builds successfully through command line(all mvn
commands like mvn package
, mvn compile<
Sometimes there is an error downloading a dependency - eg. some files are downloaded but the actual JAR is missing from the local Maven repository.
In this case I had to delete the whole folder of the problematic dependency in the local maven repository. Only then did Maven update work (Right-click on the project and select Project > Maven > Update Project...
. )