title: Maven Compile with specific Module
body: <p>I am comiling spark project with following command</p>
  
  <pre><code>mvn  -Phadoop2-yarn -Dhadoop.version=2.3.0-cdh5.0.3 -Dyarn.version=2.3.0-cdh5.0.3 -DskipTests clean package
  </code></pre>
  
  <p>my hadoop version is <code>'2.3.0-cdh5.0.3'</code>
  It compiles well but if  errors occured how to resume compile for module example ,It prompts me  message lik this</p>
  
  <pre><code>mvn &lt;goals&gt; -rf :spark-examples_2.10
  </code></pre>
  
  <p>I have tried  : </p>
  
  <pre><code> mvn  -Phadoop2-yarn -Dhadoop.version=2.3.0-cdh5.0.3 -Dyarn.version=2.3.0-cdh5.0.3 -DskipTests clean package -rf :spark-examples_2.10
  </code></pre>
  
  <p>But its not helpful,Anyone knows whether i am missing anything to compile.</p>