[SPARK-1760]: fix building spark with maven documentation