title: mvn archetype:generate -DarchetypeCatalog=local does not list my archetype
body: <p>First, I created an archetype project and installed it to the local maven repository.</p>
  
  <p>Next, I ran <code>mvn archetype:crawl</code> to generate an <code>archetype-catalog.xml</code> at  <code>C:\Users\Administrator\.m2\repository\archetype-catalog.xml</code>.</p>
  
  <pre><code>&lt;archetype&gt;
    &lt;groupId&gt;dfr.custom.archetypes&lt;/groupId&gt;
    &lt;artifactId&gt;archetype_webapp-archetype&lt;/artifactId&gt;
    &lt;version&gt;1.0&lt;/version&gt;
    &lt;description&gt;archetype_webapp&lt;/description&gt;
  &lt;/archetype&gt;
  </code></pre>
  
  <p>When I want to use it to generate a new maven project,I can't find it use
  <code>mvn archetype:generate -DarchetypeCatalog=local</code>, I got "No archetype defined".</p>
  
  <p>In addition, I tried to run <code>mvn archetype:generate -DarchetypeCatalog=file://C:\Users\Administrator\\.m2\repository</code>,it worked.</p>
  
  <p>Choose archetype:
  1: <code>file://C:\Users\Administrator\\.m2\repository</code> <code>-&gt; dfr.custom.archetypes:archetype_webapp-archetype (archetype_webapp)</code></p>
  
  <p>...</p>
  
  <p>9: <code>file://C:\Users\Administrator\\.m2\repository -&gt; org.jboss.spring.archetypes:spring-mvc-webapp (getting-started)</code>
  Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): 3: </p>
  
  <p>what went wrong?</p>