title: Cannot create Maven Project in eclipse
body: <p>I have Eclipse Luna and Maven 3.2.3 installed on a Windows 7 machine behind a corporate firewall. </p>
  
  <p>Trying to create a project from an archetype results in the following error:</p>
  
  <blockquote>
    <p>Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE from any of the configured repositories.  </p>
    
    <p>Could not resolve artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:RELEASE  </p>
    
    <p>Failed to resolve version for org.apache.maven.archetypes:maven-archetype-
    quickstart:pom:RELEASE:   Could not find metadata org.apache.maven.archetypes:maven-archetype-quickstart/maven-metadata.xml in local (C:\Users\xxxx.m2\repository)  </p>
    
    <p>Failed to resolve version for org.apache.maven.archetypes:maven-archetype-quickstart:pom:RELEASE: Could not find metadata org.apache.maven.archetypes:maven-archetype-quickstart/maven-metadata.xml in local (C:\Users\xxxx.m2\repository)  </p>
  </blockquote>
  
  <p>Proxy details are configured in <code>.m2/settings.xml</code> and generating a maven project from an archtype works fine in command line. </p>
  
  <p>I tried to apply the solutions from <a href="https://stackoverflow.com/questions/15506043/create-a-maven-project-in-eclipse-complains-could-not-resolve-archetype?lq=1">here</a> but none worked. The remote catalog is not acessible as well. I reckon it's a problem with the network settings of Eclipse. I also looked at <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=355774" rel="noreferrer">this bug report</a> to try and find some clues and couldn't really understand how to implement the workaround. </p>
  
  <p>here is my settings.xml file:</p>
  
  <pre class="lang-xml prettyprint-override"><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;servers&gt;
          &lt;server&gt;
              &lt;id&gt;nexus&lt;/id&gt;
              &lt;username&gt;xxxx@xxxx.com&lt;/username&gt;
              &lt;password&gt;{XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX}&lt;/password&gt;
          &lt;/server&gt;
          &lt;server&gt;
              &lt;id&gt;deployment&lt;/id&gt;
              &lt;username&gt;xxxx@xxxx.com&lt;/username&gt;
              &lt;password&gt;{XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX}&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;https://nexus-int.xxxx.xxxx.com/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>
  
  <p>Any ideas?</p>
  
  <p>Thanks</p>
  
  <p>Tomer</p>