title: Archetype Selection Using m2eclipse
body: <p>I would like to create a new Maven project in Eclipse using an archetype using the New Maven Project wizard. At the "Select an Archetype" step, I have three catalogs to choose from: <code>Nexus Indexer</code>, <code>Internal</code> and <code>Default Local</code>.  I don't understand where the content for these catalogs should be coming from.  If I click on the "Configure" button, they are all greyed out and I can't modify them.</p>
  
  <p>Only the <code>Internal</code> catalog has any archetypes listed in it.  Where are these archetypes coming from?  It's not from my local Maven repository because the group/artifacts are not in it (and archetypes in the repo are not listed).</p>
  
  <p>Why is the <code>Nexus Indexer</code> list empty? I've read some posts that the Nexus index needs to be updated, but not how to do this.  Is this different than the repository indexes (which are scheduled to be updated daily).</p>
  
  <p>As you can see, I'm a little confused about the whole catalog business and how Maven, m2eclipse and Nexus interact. Any clarification is most welcome!</p>
  
  <p>My setup:</p>
  
  <ul>
  <li>Eclipse: Helios Service Release 2 (Build id: 20110218-0911) </li>
  <li>Apache Maven 3.0.3 </li>
  <li>m2eclipse: 0.12.1.20110112-1712 (set up to use external Maven install) </li>
  <li>Sonatype Nexus™ Open Source Edition, Version: 1.9.0.2</li>
  </ul>
  
  <p>My local Maven settings.xml looks like this:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;settings&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://myserver: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;servers&gt;
        &lt;server&gt;
            &lt;id&gt;my-snapshots&lt;/id&gt;
            &lt;username&gt;user&lt;/username&gt;
            &lt;password&gt;password&lt;/password&gt;
        &lt;/server&gt;
        &lt;server&gt;
            &lt;id&gt;my-releases&lt;/id&gt;
            &lt;username&gt;user&lt;/username&gt;
            &lt;password&gt;password&lt;/password&gt;
        &lt;/server&gt;
    &lt;/servers&gt;
  &lt;/settings&gt;
  </code></pre>