title: Zeppelin does not load maven jar
body: <p>Apache Zeppelin Version 0.7.1</p>
  
  <pre><code>%dep
  z.reset() // clean up previously added artifact and repository
  
  // add maven repository
  z.addRepo("Spark Cassandra Connector 2.0.10").url("https://mvnrepository.com/artifact/com.datastax.spark/spark-cassandra-connector")
  
  // add artifact recursively
  // z.load("groupId:artifactId:version")
  z.load("com.datastax.spark:spark-cassandra-connector_2.11:2.0.10") 
  
  java.lang.NullPointerException
      at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:352)
      at org.apache.zeppelin.spark.dep.SparkDependencyContext.fetchArtifactWithDep(SparkDependencyContext.java:171)
      at org.apache.zeppelin.spark.dep.SparkDependencyContext.fetch(SparkDependencyContext.java:121)
      at org.apache.zeppelin.spark.DepInterpreter.interpret(DepInterpreter.java:245)
      at org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:95)
      at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:490)
      at org.apache.zeppelin.scheduler.Job.run(Job.java:175)
      at org.apache.zeppelin.scheduler.FIFOScheduler$1.run(FIFOScheduler.java:139)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)
  </code></pre>
  
  <p>The following doesn't seem to be helpful:</p>
  
  <ol>
  <li><a href="https://stackoverflow.com/questions/36750057/apache-zeppelin-additional-repository-import">apache zeppelin additional repository import</a></li>
  <li>In <a href="https://zeppelin.apache.org/docs/0.7.1/interpreter/spark.html" rel="nofollow noreferrer">https://zeppelin.apache.org/docs/0.7.1/interpreter/spark.html</a>, it gives an example of setting <code>zeppelin.dep.additionalRemoteRepository</code> to <code>http://dl.bintray.com/spark-packages/maven</code>, but this repo doesn't have the version of jar I need.</li>
  <li><a href="https://zeppelin.apache.org/docs/0.7.1/interpreter/spark.html#3-dynamic-dependency-loading-via-sparkdep-interpreter" rel="nofollow noreferrer">https://zeppelin.apache.org/docs/0.7.1/interpreter/spark.html#3-dynamic-dependency-loading-via-sparkdep-interpreter</a></li>
  <li><a href="https://stackoverflow.com/questions/59425963/zeppelin-dynamic-dependency-loading-fails-on-os-maven-plugin">Zeppelin dynamic dependency loading fails on os-maven-plugin</a></li>
  </ol>
  
  <hr>
  
  <p>Now I'm getting</p>
  
  <pre><code>%dep
  z.load("com.datastax.spark:spark-cassandra-connector_2.11:2.0.10")
  
  org.sonatype.aether.resolution.DependencyResolutionException: Could not find artifact com.datastax.spark:spark-cassandra-connector_2.11:jar:2.0.10 in central (https://repo1.maven.org/maven2/)
  </code></pre>