This project can be used as a template to create a scala-spark project in intellij using maven for build. Also, this project has sample code, docker files and scripts to run spark master , worker nodes and history server on docker.
After building the project, jar would go to target folder.