title: Jenkins: custom jar dependency issue
body: <p>I'm creating a jar through a project and copied the jar to <code>c:\mylib\test-automation-library-0.0.1-SNAPSHOT.jar</code></p>
  
  <pre><code>&lt;groupId&gt;com.mycompany.taf&lt;/groupId&gt;
    &lt;artifactId&gt;test-automation-library&lt;/artifactId&gt;
    &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
    &lt;packaging&gt;jar&lt;/packaging&gt;
    &lt;name&gt;Test Automation Library&lt;/name&gt;
    &lt;description&gt;Test Automation Library&lt;/description&gt;
  &lt;url&gt;http://maven.apache.org&lt;/url&gt;
  </code></pre>
  
  <p>Now, I'm running the test scripts through Jenkins.In the Jenkins job of test scripts, I included the following pre-build step install the library:</p>
  
  <pre><code>install:install-file
   -Dfile=c:\mylib\test-automation-library-0.0.1-SNAPSHOT.jar 
   -DgroupId=com.mycompany.taf 
   -DartifactId=test-automation-library
   -Dversion=0.0.1 
   -Dpackaging=jar
  </code></pre>
  
  <p>This installs the jar to maven local repository (where are the scripts are supposed to run) and build is successful in the POM file of the test-scripts, I included the following dependency for the above library:</p>
  
  <pre><code>&lt;dependency&gt;
    &lt;groupId&gt;com.mycompany.taf&lt;/groupId&gt;
    &lt;artifactId&gt;test-automation-library&lt;/artifactId&gt;
    &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>If I do maven install (of the test-scripts project) through Jenkins, I'm hitting the following error:</p>
  
  <pre><code>[INFO] ------------------------------------------------------------------------
  [WARNING] The POM for com.mycompany.taf:test-automation-library:jar:0.0.1-SNAPSHOT is missing, no dependency information available
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  </code></pre>
  
  <p>Is it something wrong with the dependency? I tried the with all different options and also googled it, but was not able to figured out what the problem was. I'm really blocked here. any help/pointers are greatly appreciated.
  Thanks in advance.
  Rams.</p>