You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spark.apache.org by Qiuzhuang Lian <qi...@gmail.com> on 2014/06/05 08:09:07 UTC

How to add user local repository defined in localRepository in settings.xml into Spark SBT build

Hi,

I customized MVN_HOME/conf/settings.xml's localRepository tag To manage
maven local jars.

<localRepository>F:/Java/maven-build/.m2/repository</localRepository>

However when I build Spark with SBT, it seems that it still gets the
default .m2 repository under

Path.userHome + "/.m2/repository"

How should I let SBT pick up my customized localRepository instead?

Thanks,
Qiuzhuang