title: Hit "could not create parent directories" error when build project using mvn
body: <p>Got the following weird exception, any one can help ? Thanks</p>
  
  <pre><code>[info] Compiling 3 Java sources to /mnt/nfs0/jzhang/spark-1.6.1/tags/target/scala-2.10/classes...
  [error] /mnt/nfs0/jzhang/spark-1.6.1/tags/src/main/java/org/apache/spark/tags/DockerTest.java:26: error: error while writing DockerTest: could not create parent directories
  [error] public @interface DockerTest { }
  [error]         ^
  [error] 1 error
  [error] Compile failed at Mar 8, 2016 11:17:18 AM [0.817s]
  </code></pre>