title: Jenkins build failure due to use of custom jars in maven project
body: <p>I am having a trouble while building my java maven project in jenkins.
  In my project, there are few custom jars which I included in pom like this </p>
  
  <pre><code>     &lt;dependency&gt;
          &lt;groupId&gt;SMSGatewayClient&lt;/groupId&gt;
          &lt;artifactId&gt;SMSGatewayClient&lt;/artifactId&gt;
          &lt;scope&gt;system&lt;/scope&gt;
          &lt;version&gt;1.0&lt;/version&gt;
          &lt;systemPath&gt;${basedir}\lib\SMSGatewayClient.jar&lt;/systemPath&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>But jenkins throwing exception</p>
  
  <blockquote>
    <p>"Could not find artifact SMSGatewayClient:SMSGatewayClient:jar:1.0 at
    specified path
    /var/lib/jenkins/workspace/DEV-metal-auc/MetalBusiness_mvn\lib\SMSGatewayClient.jar"</p>
  </blockquote>
  
  <p>and build is stopped.</p>
  
  <p>How can I use that custom jar so that jenkins builds successfully?</p>