title: installing a new jar maven eclipse
body: <p>I am trying to install a jar called icepdf-core.jar in maven/eclipse. </p>
  
  <p>I am running the following command after which the org.icepdf.core folder is created in ~.m2/repository but the jar file is not being installed in the directory.</p>
  
  <pre><code>mvn install:install-file -Dfile=/Users/me/Downloads/ICEpdf-4.1.4-bin/icepdf/icepdf-core.jar 
                           -DgroupId=org.icepdf 
                           -DartifactId=core 
                           -Dversion=4.1.4 
                           -Dpackaging=jar 
                           -DgeneratePom=true
  </code></pre>
  
  <p>After running this command, I manually copied the core-4.1.4.pom.xml and maven-metadata-local.xml into the local_repo folder in my eclipse project.</p>
  
  <p>I also added the dependency in pom.xml as follows:</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.icepdf&lt;/groupId&gt;
      &lt;artifactId&gt;icepdf-core&lt;/artifactId&gt;
      &lt;version&gt;4.1.4&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>I am getting errors in eclipse saying:</p>
  
  <blockquote>
    <p>Missing artifact org.icepdf:icepdf-core:jar:4.1.4:compile</p>
  </blockquote>
  
  <p>How can I make this work?</p>