I am developing a spark application. To test it locally I want to run sbt
run. This requires the dependencies to be available locally. But I also want to use sbt assembly
to generate a jar which can be used for spark-submit
that jar should only include some of the dependencies e.g. not include the spark dependencies.
When I mark a dependency in build.sbt
as % "provided"
it no longer is available via sbt run