I have to follow this tutorial to create a uber jar for my Apache Spark app with maven.
I installed all Spark dependencies in pom with <scope>provided</scope> . This works very well, but now when I run the application locally, I get an error for missing Spark dependencies.
At the moment, I had to remove the provided tag from pom.
How can I make the above spark dependencies only when creating an application for release?
I use Intellij as an IDE for application development.
source share