title: Maven archetype catalog : specify custom location(s)
body: <p>I'm deploying a Nexus repository for Maven, and custom archetypes on it. </p>
  
  <p>I would like to execute <code> mvn archetype:generate</code> and be prompted a list of internal + custom archetypes. </p>
  
  <p>The only way I found to prompt custom archetypes (in an ergonomic way, meaning no URL) is to define the archetype-catalog path as a property in the settings. This is not a valid solution because I want several catalogs (and this property cannot be overriden in CLI).</p>
  
  <p>Does anybody have a clue on how to do that ? </p>
  
  <p>Thanks in advance, </p>
  
  <hr>
  
  <p>[EDIT]
  I found an issue report related : <a href="http://jira.codehaus.org/browse/ARCHETYPE-273" rel="noreferrer">http://jira.codehaus.org/browse/ARCHETYPE-273</a></p>
  
  <p>And I noticed that during <code>archetype:generate</code>, maven tries to reach the central repository : </p>
  
  <pre><code>[DEBUG] Searching for remote catalog: http://repo1.maven.org/maven2/archetype-catalog.xml
  [DEBUG] Searching for remote catalog: http://repo1.maven.org/maven2
  </code></pre>
  
  <p>It ends by a "Connection Timed out" because I did not (and don't want to) specify a proxy...</p>
  
  <p>I don't understand why maven doesn't check nexus catalog...</p>