[ADAM-489] Moved Spark and Hadoop to provided dependency.