sbt-spark-package icon indicating copy to clipboard operation
sbt-spark-package copied to clipboard

Triggered plugin causes dependency errors

Open jodersky opened this issue 8 years ago • 1 comments

I just tried using sbt-spark-package with a multi-project sbt build. Since the plugin is an AutoPlugin overriding the trigger method

override def trigger = allRequirements

it applied its settings to all projects of my build, leading to some errors (my build is complex and non-standard).

Since the sbt-spark-package plugin adds dependencies and does other "side-effecting" things with projects, would it not be safer to remove the trigger override, thereby requiring and explicit enablePlugins(SparkPackagePlugin)?

jodersky avatar Nov 10 '15 07:11 jodersky