title: Failed to create Maven project
body: <p>I failed to start Maven project. The error showing:</p>
  
  <blockquote>
    <p>Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:1.1 from any of the configured repositories.<br />
    Could not resolve artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1<br />
    Failure to transfer org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 from <a href="https://repo.maven.apache.org/maven2" rel="nofollow noreferrer">https://repo.maven.apache.org/maven2</a> was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error:<br />
    Could not transfer artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 from/to central (<a href="https://repo.maven.apache.org/maven2" rel="nofollow noreferrer">https://repo.maven.apache.org/maven2</a>): Connect timed out<br />
    Failure to transfer org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 from <a href="https://repo.maven.apache.org/maven2" rel="nofollow noreferrer">https://repo.maven.apache.org/maven2</a> was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error:<br />
    Could not transfer artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 from/to central (<a href="https://repo.maven.apache.org/maven2" rel="nofollow noreferrer">https://repo.maven.apache.org/maven2</a>): Connect timed out</p>
  </blockquote>
  
  <p>In my previous project, I also cannot install JAR with Maven install in Spring Tools Suite, so I install with command prompt <code>mvn install</code>. I had create the setting proxy in <code>settings.xml</code> with same proxy like browser setting. </p>
  
  <p><strong>settings.xml</strong>:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  
  &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;pluginGroups&gt;
  
    &lt;/pluginGroups&gt;
  
  &lt;proxies&gt;
    &lt;proxy&gt;
      &lt;id&gt;myproxy&lt;/id&gt;  
        &lt;active&gt;true&lt;/active&gt;
        &lt;protocol&gt;http&lt;/protocol&gt;
        &lt;host&gt;idnproxy.pru.intranet.asia&lt;/host&gt;
        &lt;port&gt;8080&lt;/port&gt;
        &lt;username&gt;c76266&lt;/username&gt;
        &lt;password&gt;Password09&lt;/password&gt;
        &lt;nonProxyHosts&gt;localhost|128.*.*.*|10.*.*.*|*.intranet.asia|*.group.local&lt;/nonProxyHosts&gt;
      &lt;/proxy&gt;
    &lt;/proxies&gt;
  
    &lt;servers&gt;    
    &lt;/servers&gt;
  
    &lt;mirrors&gt;
  
    &lt;mirror&gt;
      &lt;name&gt;Spring Milestones&lt;/name&gt;  
        &lt;id&gt;spring-milestones-secure&lt;/id&gt;
        &lt;url&gt;http://repo.spring.io/libs-milestone&lt;/url&gt;
        &lt;mirrorOf&gt;spring-milestones&lt;/mirrorOf&gt;
      &lt;/mirror&gt;
  
    &lt;/mirrors&gt;
  
    &lt;profiles&gt;
    &lt;/profiles&gt;
  
  &lt;/settings&gt;
  </code></pre>
  
  <p>How to solve this problem? When I install JAR with command prompt, it succeeds. Why? Thanks.</p>