Using Intellij 15.0.1 I am trying to build a project using Maven. However, it is not resolving any dependencies. For example using the dependency below in my pom.xml:
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-core_2.10</artifactId>
<version>1.3.1</version>
</dependency>
I see a message at the bottom of Intellij saying Cannot Resolve Dependency
. The folder ~/.m2/repository/org/apache/spark/spark-core_2.10/1.3.1
is still created in my maven repo, but there is no jar there. Just the files_maven.repositories spark-core_2.10-1.3.1.pom spark-core_2.10-1.3.1.pom.sha1
.
This behaviour is happening with any new dependency I add to the pom.