Apache spark 强制ApacheToreScala内核添加来自本地repo的依赖项

Apache spark 强制ApacheToreScala内核添加来自本地repo的依赖项,apache-spark,apache-toree,Apache Spark,Apache Toree,在ApacheToreeScala内核中,%AddDepsmagics可用于加载依赖项。我如何强制它使用本地回购而不是mavenCentral %AddDeps org.example my-project 5.0 --repository file:/users/my-home/.m2/repository --transitive

在ApacheToreeScala内核中,
%AddDeps
magics可用于加载依赖项。我如何强制它使用本地回购而不是mavenCentral

%AddDeps org.example my-project 5.0 --repository file:/users/my-home/.m2/repository --transitive