How to define default maven repositories for spark-submit packages
<p>When I execute my <em>spark-shell</em> or <em>spark-submit</em> command</p>

<pre><code>spark-shell --repositories https://myrepository.com/release 
--packages com.myrepo:spark-helpers:0.1
</code></pre>

<p>works perfectly and I can use my own code.</p>

<p>As there are several config files like <em>spark-defaults.properties</em> and <em>spark-env.sh</em> I assumed that you can configure this settings somehow.</p>

<p>What I found is that you should use <em>spark.jars.ivy</em> in <em>spark-defaults.properties</em> for defining a <em>ivy repository</em> <a href="http://spark.apache.org/docs/latest/configuration.html" rel="nofollow noreferrer"><em>link-to-source</em></a> but I don't see a point why I should use <em>ivy</em> when <em>spark-submit</em> supports maven by default.</p>