title: Can't create a project from an archetype-catalog.xml
body: <p>I'm trying to use my own project template, but when I perform the command: </p>
  
  <pre><code>mvn archetype:generate -DarchetypeCatalog=local
  </code></pre>
  
  <p>I got the following message: </p>
  
  <pre><code> [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): :
  </code></pre>
  
  <p>I tried many possible solutions that I found here, but I did not succeed ...</p>
  
  <p>My steps: <br> - I created a project in eclipse <br> -Then I went to root directory of this project and performed the following command in prompt: </p>
  
  <pre><code>mvn archetype:create-from-project
  </code></pre>
  
  <p>and had BUILD SUCCESS.</p>
  
  <hr>
  
  <p>Then I performed the following command on project's folder</p>
  
  <pre><code>mvn install
  </code></pre>
  
  <p>and had BUILD SUCCESS</p>
  
  <hr>
  
  <p>I checked the <strong>.m2</strong> folder, and the archetpe-catalog.xml was there:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;archetype-catalog xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-catalog/1.0.0 http://maven.apache.org/xsd/archetype-catalog-1.0.0.xsd"
      xmlns="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-catalog/1.0.0"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
    &lt;archetypes&gt;
      &lt;archetype&gt;
        &lt;groupId&gt;io.openbdt&lt;/groupId&gt;
        &lt;artifactId&gt;framework-openbdt&lt;/artifactId&gt;
        &lt;version&gt;1.0&lt;/version&gt;
        &lt;description&gt;framework-openbdt&lt;/description&gt;
      &lt;/archetype&gt;
    &lt;/archetypes&gt;
  &lt;/archetype-catalog&gt;
  </code></pre>
  
  <p>In maven's documentation explains that default path of <strong>archetypeCatalog=local</strong> is  <strong>path/.m2/archetype-catalog.xml</strong> but on debug (mvn archetype:generate -DarchetypeCatalog=local -X), maven search the xml file in <strong>path/.m2/repository/archetype-catalog.xml</strong></p>
  
  <p>Note: These steps were typically performed in my notebook, but on my desktop I was unsuccessful. Then I created a new user on the notebook and it also didn't work anymore.</p>
  
  <p>Can anyone help me, please?</p>