title: how to stop maven from downloading sources jar
body: <p>I am building a Spring boot application using maven. I included a jar file as dependency.
  When the maven build is started, it is trying to download the jar by using the repository URL/groupId/ArtifactId/Version/ArtifactId-version-sources.jar</p>
  <p>Both jar and repository are not public. In the repository I am not able to find any jar with &quot;-sources&quot; in its name and the download fails.</p>
  <p>Dependency tag:</p>
  <pre><code>    &lt;dependency&gt;
          &lt;groupId&gt;com.test.app.internal&lt;/groupId&gt;
          &lt;artifactId&gt;AppMaker&lt;/artifactId&gt;
           &lt;version&gt;2.0.5&lt;/version&gt; 
      &lt;/dependency&gt;
  </code></pre>
  <p>Download link (which maven tries):</p>
  <p><a href="http://repo.aaa.com/com/test/app/internal/AppMaker/2.0.5/AppMaker-2.0.5-sources.jar" rel="nofollow noreferrer">http://repo.aaa.com/com/test/app/internal/AppMaker/2.0.5/AppMaker-2.0.5-sources.jar</a></p>
  <p>Actual jar link:</p>
  <p><a href="http://repo.aaa.com/com/test/app/internal/AppMaker/2.0.5/AppMaker-2.0.5.jar" rel="nofollow noreferrer">http://repo.aaa.com/com/test/app/internal/AppMaker/2.0.5/AppMaker-2.0.5.jar</a></p>
  <p>How can I stop maven from downloading the sources jar?</p>