Setting up Spark on IntelliJ with Maven

In a previous post, I talked about how to set up IntelliJ for Spark development using sbt. There is an alternative way to accomplish this using Maven. Simply add Maven to your IntelliJ project and add this snippet to your pom.xml:


Now you can start referencing Spark from within your project.