title: Building Spark with mvn fails
body: <p>I am trying to build spark 1.5.0. I am using this command:</p>
  
  <pre><code>sh ./make-distribution.sh --name 2.6.0 --tgz  -Phadoop-2.6 -Phive
  </code></pre>
  
  <p>But get the following error code:</p>
  
  <pre><code>Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.2.2:compile (scala-compile-first) on project spark-launcher_2.10: Execution scala-compile-first of goal net.alchim31.maven:scala-maven-plugin:3.2.2:compile failed. CompileFailed.
  </code></pre>
  
  <p>Also I get this error message:</p>
  
  <pre><code>Required file not found: scala-compiler-2.10.4.jar
  </code></pre>
  
  <p>Does anybody know, how I can fix this problem?</p>
  
  <p>Thank you very much in advance.</p>