title: Maven Dependency error
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/12760715/maven-cannot-resolve-local-dependency">Maven Cannot Resolve Local Dependency</a>  </p>
  </blockquote>
  
  
  
  <p>I am using maven 3 with eclispe juno. </p>
  
  <p>after creating the maven project , I used the eclipse pluggin 
  to generate eclipse files and import the project into eclipse.</p>
  
  <p>I have added an jar that I have created to the maven project. </p>
  
  <p>the jar file is installed to the project local repository. 
  that is a file called repo at the project base directory.</p>
  
  <p>the install:install-file command was used to add the jar to the repo file,
   the jar dependency was then added to the Pom file of the project. </p>
  
  <p>At the eclipse IDE I am able to import the jar file as 
  any other library importation .</p>
  
  <p>However when I run the mvn compile command , 
  I get a dependency error and maven says it 
  cannot find the jar file . I provide the codes below.</p>
  
  <p>his is the POM repo configuration</p>
  
  <pre><code>    &lt;repository&gt;
      &lt;id&gt;repo&lt;/id&gt;
      &lt;releases&gt;
          &lt;enabled&gt;true&lt;/enabled&gt;
          &lt;checksumPolicy&gt;ignore&lt;/checksumPolicy&gt;
      &lt;/releases&gt;
      &lt;snapshots&gt;
          &lt;enabled&gt;false&lt;/enabled&gt;
      &lt;/snapshots&gt;
      &lt;url&gt;file://${project.basedir}/repo&lt;/url&gt;
  &lt;/repository&gt;
  </code></pre>
  
  <p>this is the dependency configuration</p>
  
  <pre><code>&lt;dependency&gt;
        &lt;groupId&gt;Com.RubineEngine.GesturePoints&lt;/groupId&gt;
        &lt;artifactId&gt;Com-RubineEngine-GesturePoints&lt;/artifactId&gt;
        &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
      &lt;/dependency&gt; 
  </code></pre>
  
  <p>When the compile is runned with the U and X switches , the following error is presented</p>
  
  <pre><code>[DEBUG] ======================================================================= 
  [DEBUG] Using connector WagonRepositoryConnector with priority 0 for file://C:\U 
  sers\FAISAL\Desktop\disaster\com-initialtheta-theta/repo 
  Downloading: file://C:\Users\FAISAL\Desktop\disaster\com-initialtheta-theta/repo 
  /Com/RubineEngine/GesturePoints/Com-RubineEngine-GesturePoints/1.0-SNAPSHOT/mave 
  n-metadata.xml 
  [DEBUG] Writing resolution tracking file C:\Users\FAISAL\.m2\repository\Com\Rubi 
  neEngine\GesturePoints\Com-RubineEngine-GesturePoints\1.0-SNAPSHOT\resolver-stat 
  us.properties 
  [DEBUG] Using connector WagonRepositoryConnector with priority 0 for repo 
  .typesafe.com/typesafe/releases/ 
  Downloading: repo.typesafe.com/typesafe/… 
  Points/Com-RubineEngine-GesturePoints/1.0-SNAPSHOT/maven-metadata.xml 
  [DEBUG] Writing resolution tracking file C:\Users\FAISAL\.m2\repository\Com\Rubi 
  neEngine\GesturePoints\Com-RubineEngine-GesturePoints\1.0-SNAPSHOT\resolver-stat 
  us.properties 
  [DEBUG] Could not find metadata Com.RubineEngine.GesturePoints:Com-RubineEngine- 
  GesturePoints:1.0-SNAPSHOT/maven-metadata.xml in typesafe (repo.typesafe. 
  com/typesafe/releases/) 
  [DEBUG] Could not find metadata Com.RubineEngine.GesturePoints:Com-RubineEngine- 
  GesturePoints:1.0-SNAPSHOT/maven-metadata.xml in lib (file://C:\Users\FAISAL\Des 
  ktop\disaster\com-initialtheta-theta/repo) 
  [DEBUG] Skipped remote update check for Com.RubineEngine.GesturePoints:Com-Rubin 
  eEngine-GesturePoints:1.0-SNAPSHOT/maven-metadata.xml, already updated during th 
  is session. 
  [DEBUG] Failure to find Com.RubineEngine.GesturePoints:Com-RubineEngine-GestureP 
  oints:1.0-SNAPSHOT/maven-metadata.xml in repo.typesafe.com/typesafe/… 
  ses/ was cached in the local repository, resolution will not be reattempted unti 
  l the update interval of typesafe has elapsed or updates are forced 
  [DEBUG] Skipped remote update check for Com.RubineEngine.GesturePoints:Com-Rubin 
  eEngine-GesturePoints:1.0-SNAPSHOT/maven-metadata.xml, already updated during th 
  is session. 
  [DEBUG] Failure to find Com.RubineEngine.GesturePoints:Com-RubineEngine-GestureP 
  oints:1.0-SNAPSHOT/maven-metadata.xml in file://C:\Users\FAISAL\Desktop\disaster 
  \com-initialtheta-theta/repo was cached in the local repository, resolution will 
  not be reattempted until the update interval of lib has elapsed or updates are 
  forced
  </code></pre>
  
  <p>can any one help me out cos am running late</p>