title: Corrupt jars downloaded by maven
body: <p>I have installed Eclipse Mars 4.5.2 I am trying to execute a simple spark project using maven which is already present in eclipse. I have included following dependency in POM: </p>
  
  <pre><code>&lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.spark&lt;/groupId&gt;
          &lt;artifactId&gt;spark-core_2.10&lt;/artifactId&gt;
          &lt;version&gt;1.2.0&lt;/version&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  </code></pre>
  
  <p>Now, when I try to build the project, it downloads dependent jars but many of them are short in size like 2KB. What should I do so that, jars are correctly downloaded.</p>
  
  <p>My settings.xml contains mirror:</p>
  
  <pre><code>&lt;mirror&gt;
      &lt;id&gt;internal-repository&lt;/id&gt;
      &lt;name&gt;Maven Repository Manager running on repo.mycompany.com&lt;/name&gt;
      &lt;url&gt;http://repo1.maven.org/maven2&lt;/url&gt;
      &lt;mirrorOf&gt;*&lt;/mirrorOf&gt;
  &lt;/mirror&gt;
  </code></pre>