title: Maven can not find my custom maven archetype
body: <h2>Unable to use a custom created maven archetype.</h2>
  
  <hr>
  
  <p>Maven tells me: Your filter doesn't match any archetype.
  My system:</p>
  
  <ul>
  <li>Windows 7 </li>
  <li>Java 7</li>
  <li>Maven 3.2</li>
  </ul>
  
  <p>The steps I have taken are:</p>
  
  <ol>
  <li>Create my project</li>
  <li>Navigate to my project in command prompt and run the command:
  <pre>mvn archetype:create-from-project</pre></li>
  <li>Navigate to target\generated-sources\archetype and run this command:
  <pre>mvn install archetype:update-local-catalog</pre></li>
  <li><p>cd back to my Projects folder and run the command</p>
  
  <pre>mvn archetype:generate -DarchetypeCatalog=local</pre>
  
  <p>Once I run that command I see:</p>
  
  <p><pre>[INFO] Scanning for projects...
  [INFO]
  [INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleTreadedBuilder with a thread count of 1
  [INFO]
  [INFO] -----------------------------------------------------
  [INFO] Building restTemplate-archetype 1.0-SNAPSHOT
  [INFO] -----------------------------------------------------
  [INFO]
  [INFO] >>> maven-archetype-plugin:2.3:generate (default-cli) @restTemplate-archetype >>>
  [INFO] &lt;&lt;&lt; maven-archetype-plugin:2.3:generate (default-cli) @restTemplate-archetype &lt;&lt;&lt; 
  [INFO]
  [INFO] --- maven-archetype-plugin:2.3:generate (default-cli) @restTemplate-archetype ---
  [INFO] Generating project in Interactive mode
  [INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
  Choose archetype:
  Your filter doesn't match any archetype (hint: enter to return to initial list)
  choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): :</p></li>
  </ol>
  
  <p></pre>
  <strong>However</strong>
  If I navigate in Eclipse to New->Project->Maven Project
  I go to select an archetype, navigate to my archetype-catalog.xml (located in my ~/.m2/ directory) I see my archetype ready to be used... yet if I use my "default local" it's not there?</p>
  
  <p>My settings.xml folder has my local repository set to</p>
  
  <pre><code> &lt;localRepository&gt;~/Projects_3.7.1/.m2/repository&lt;/localRepository&gt;
  </code></pre>
  
  <p>If I attempt to use my archetype-catalog.xml, Eclipse will let me use my archetype... it breaks any XML, but that's something for another post. I believe if I let Maven generate my project from my custom archetype I'll be good.</p>
  
  <p>Any suggestions?</p>