title: Add Guava to new Maven IntelliJ module
body: <p>I'm having trouble adding Google Guava to my IntelliJ project.  I've tried the following:</p>
  
  <ol>
  <li><p>From <code>pom.xml</code>, using <kbd>ALT</kbd>-<kbd>INSERT</kbd> and selecting "Dependency".  I tried searching for "google", "guava", and "google-guava".  There were no results for any of these searches.</p></li>
  <li><p>The <a href="http://code.google.com/p/guava-libraries/wiki/UseGuavaInYourBuild#Maven" rel="noreferrer">guava website</a> suggests that guava can be found in "Maven Central."  I think that is <code>http://repo1.maven.org/maven2/</code>.  I tried adding that URL to the list at Project Settings->Maven->Repositories.  If I add it to the "Artifactory or Nexus Service URLs" list, when I click "Test" I get the message "No repositories found."  I cannot find a way to add the URL to the list of "Indexed Maven Repositories" (which only has an "Update" button).</p></li>
  <li><p>I tried adding this <code>&lt;dependency&gt;</code> snippet directly to <code>pom.xml</code></p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;com.google.guava&lt;/groupId&gt;
      &lt;artifactId&gt;guava&lt;/artifactId&gt;
      &lt;version&gt;10.0.1&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>but <code>com.google.guava</code> gets highlighted in red with a tooltip saying that dependency cannot be found.</p></li>
  </ol>
  
  <p>How can I get IntelliJ to add Guava as a maven dependency for my project (without downloading it myself)?</p>
  
  <h2>Edit</h2>
  
  <p>The Maven Repositories that IntelliJ is already configured with are:</p>
  
  <ul>
  <li><a href="http://oss.sonatype.org/service/local/" rel="noreferrer">http://oss.sonatype.org/service/local/</a></li>
  <li><a href="http://repo.jfrog.org/artifactory/api/" rel="noreferrer">http://repo.jfrog.org/artifactory/api/</a></li>
  <li><a href="http://repository.jboss.org/nexus/service/local/" rel="noreferrer">http://repository.jboss.org/nexus/service/local/</a></li>
  </ul>
  
  <p>The only entry in my "Indexed Maven Repositories" is a local directory:</p>
  
  <ul>
  <li>/home/benw/.m2/repository</li>
  </ul>