Search code examples
eclipsemavenm2eclipse

Eclipse does not recognize existing resolved Maven dependencies


I have m2 plugin in Ecplipse 3.8.0 and a project that has maven dependencies inside. Local .m2 folder has the correct version of the dependency, pom.xml looks correctly but Dependencies tab when opening the pom.xml in Eclipse tells "Failed to read artifact descriptor.." error. Also I get missing artifact error on the Problems section on Eclipse.

Where does the m2-plugin or Eclipse read those dependencies, if they show up correctly on pom.xml and the correcponding jar is at .m2 folder?


Solution

  • I removed check from "Do not automatically update dependencies from remote repositories" option and that made the trick.