title: how to add jar dependency in maven?
body: <p>When I run </p>
  
  <pre><code>mvn compile
  </code></pre>
  
  <p>I get <code>package com.ibm.icu.util does not exist</code>.  So I downloaded the ICU4J jar and installed it into the local repository.  I confirmed it's in <code>.m2/repository/com/ibm/icu/icu4j/3.4.4/icu4j-3.4.4.jar</code>.  Inside that jar file is the missing class file <code>com/ibm/icu/util/Calendar.class</code>.  Then I added the following into the dependencies section of <code>pom.xml</code>:</p>
  
  <pre><code>&lt;dependency&gt;
     &lt;groupId&gt;com.ibm.icu&lt;/groupId&gt;
     &lt;artifactId&gt;icu4j&lt;/artifactId&gt;
     &lt;version&gt;3.4.4&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>But when I run <code>mvn compile</code> again, I get the same error.  What am I doing wrong?</p>