title: how to download and install jar in my local repo Maven
body: <p>I am trying to download a jar for an internal repo with I have under tomcat and then install it to my local maven repo.</p>
  
  <p>The jar file can be found under the <code>path:http://10.11.250.14/strepo/ext/JSErrorCollector-0.2.jar</code>.</p>
  
  <p>I edit my <code>pom.xml</code> providing the link of the internal repo and also add a dependency in the <code>pom.xml</code> but the maven cannot download the jar.</p>
  
  <pre><code>&lt;repositories&gt;
      &lt;repository&gt;
        &lt;id&gt;internal.repo&lt;/id&gt;
        &lt;url&gt;http://10.11.250.14/strepo/ext/&lt;/url&gt;
            &lt;/repository&gt;
   &lt;/repositories&gt;
  
    &lt;dependencies&gt;   
  
       &lt;dependency&gt;
          &lt;groupId&gt;org.JS&lt;/groupId&gt;
          &lt;artifactId&gt;JSErrorCollector&lt;/artifactId&gt;
          &lt;version&gt;0.2&lt;/version&gt;
      &lt;/dependency&gt; 
  </code></pre>
  
  <p>Could you please anyone help me?</p>