I am setting up a project in eclipse . This projects builds successfully through command line(all mvn commands like mvn package, mvn compile<
mvn
mvn package
mvn compile<
For me I changed the packaging from pom to jar, and then the dependency got downloaded.
so I changed from pom to jar