title: How to resolve "Publishing failed: Error creating zip file XXX.jar: duplicate entry: .svn/entries"
body: <p>I have a modular Dynamic Web Project in Eclipse. When I try to publish this project to my embedded Tomcat server, I get this error:</p>
  
  <pre><code>Publishing failed
  Error creating zip file XXX-web.jar: duplicate entry: .svn/entries
  duplicate entry: .svn/entries
  Error creating zip file XXX-domain.jar: duplicate entry: .svn/entries
  duplicate entry: .svn/entries
  Error creating zip file XXX-services.jar: duplicate entry: .svn/entries
  duplicate entry: .svn/entries
  Error creating zip file XXX-repository.jar: duplicate entry: .svn/entries
  duplicate entry: .svn/entries
  </code></pre>
  
  <p>It's clear there is a problem creating the JARs because of the SVN files, but how can I instruct Eclipse to ignore anything in the <strong>.svn</strong> directory during the creation of JARs?</p>