sbt-spark-package
sbt-spark-package copied to clipboard
Triggered plugin causes dependency errors
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)
?