title: Failed to copy artifact or file with maven packaging a web application
body: <p>I have a problem packaging a web application based on vaadin. I have two projects in my workspace called project A and project B. Project A is referencing B and the dependencies are resolven within the workspace and degub mode correctly, by adding the project to the classpath.</p>
  
  <p>Now if I try to maven package, I always get the error </p>
  
  <pre><code>Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war (default-war) on project A: Failed to copy file for artifact [com.dscsag.dscxps:ProjectB:jar:0.0.1-SNAPSHOT:compile]: C:\some_path\target\classes (Access is denied) -&gt; [Help 1]
  </code></pre>
  
  <p>What should I do?</p>