title: How do I get my snapshots in Nexus to appear in the m2eclipse dependency search?
body: <p>I've been working through the <a href="http://www.sonatype.com/books/nexus-book/reference/index.html" rel="nofollow noreferrer">Nexus guide</a> this weekend and I've got everything set up, to the point that I can publish a snapshot to my local nexus install.</p>
  
  <p>I can't seem to work out how to get m2eclipse to see the snapshot and offer it as an option in the Add Dependencies search panel. How do I do that? Thanks!</p>
  
  <p>In case it's of any use, my settings.xml is as follows:</p>
  
  <pre><code>&lt;settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
                        http://maven.apache.org/xsd/settings-1.0.0.xsd"&gt;
      &lt;localRepository /&gt;
      &lt;interactiveMode /&gt;
      &lt;usePluginRegistry /&gt;
      &lt;offline /&gt;
      &lt;pluginGroups /&gt;
      &lt;servers&gt;
          &lt;server&gt;
              &lt;id&gt;localSnap&lt;/id&gt;
              &lt;username&gt;deployment&lt;/username&gt;
              &lt;password&gt;*****&lt;/password&gt;
          &lt;/server&gt;
      &lt;/servers&gt;
      &lt;mirrors&gt;
          &lt;mirror&gt;
              &lt;!--This sends everything else to /public --&gt;
              &lt;id&gt;nexus&lt;/id&gt;
              &lt;mirrorOf&gt;*&lt;/mirrorOf&gt;
              &lt;url&gt;http://localhost:8080/nexus/content/groups/public&lt;/url&gt;
          &lt;/mirror&gt;
      &lt;/mirrors&gt;
      &lt;profiles&gt;
          &lt;profile&gt;
              &lt;id&gt;nexus&lt;/id&gt;
              &lt;!--Enable snapshots for the built in central repo to direct --&gt;
              &lt;!--all requests to nexus via the mirror --&gt;
              &lt;repositories&gt;
                  &lt;repository&gt;
                      &lt;id&gt;central&lt;/id&gt;
                      &lt;url&gt;http://central&lt;/url&gt;
                      &lt;releases&gt;
                          &lt;enabled&gt;true&lt;/enabled&gt;
                      &lt;/releases&gt;
                      &lt;snapshots&gt;
                          &lt;enabled&gt;true&lt;/enabled&gt;
                      &lt;/snapshots&gt;
                  &lt;/repository&gt;
              &lt;/repositories&gt;
              &lt;pluginRepositories&gt;
                  &lt;pluginRepository&gt;
                      &lt;id&gt;central&lt;/id&gt;
                      &lt;url&gt;http://central&lt;/url&gt;
                      &lt;releases&gt;
                          &lt;enabled&gt;true&lt;/enabled&gt;
                      &lt;/releases&gt;
                      &lt;snapshots&gt;
                          &lt;enabled&gt;true&lt;/enabled&gt;
                      &lt;/snapshots&gt;
                  &lt;/pluginRepository&gt;
              &lt;/pluginRepositories&gt;
          &lt;/profile&gt;
      &lt;/profiles&gt;
      &lt;activeProfiles&gt;
          &lt;!--make the profile active all the time --&gt;
          &lt;activeProfile&gt;nexus&lt;/activeProfile&gt;
      &lt;/activeProfiles&gt;
  
  &lt;/settings&gt;
  </code></pre>