title: How to connect local archiva repository and create maven project in Eclipse?
body: <p>I have no internet access on my project and trying to deploy archiva and use it to create maven projects offline.
  So, i downloaded apache archiva and deployed it on my local computer.
  Then i created local repository with this settings.
  <img src="https://imgur.com/FOH293c.jpg" alt="repository settings"></p>
  
  <p>Then i changed settings.xml in maven folder</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;localRepository&gt;C:/MavenRepository/.m2/repository&lt;/localRepository&gt;
  &lt;pluginGroups&gt;
  &lt;/pluginGroups&gt;
  &lt;proxies&gt;
  &lt;/proxies&gt;
  &lt;servers&gt;
  &lt;/servers&gt;
  &lt;mirrors&gt;
      &lt;mirror&gt;
          &lt;id&gt;local.repository&lt;/id&gt;
          &lt;name&gt;test repo&lt;/name&gt;
  
      &lt;url&gt;http://localhost:8888/archiva/repository/local.repository&lt;/url&gt;
          &lt;mirrorOf&gt;*&lt;/mirrorOf&gt;
      &lt;/mirror&gt;
  &lt;/mirrors&gt;
  &lt;profiles&gt;
      &lt;profile&gt;
          &lt;id&gt;local&lt;/id&gt;
          &lt;activation&gt;
              &lt;activeByDefault&gt;true&lt;/activeByDefault&gt;
          &lt;/activation&gt;
  
          &lt;repositories&gt;
              &lt;repository&gt;
                  &lt;id&gt;local.repository&lt;/id&gt;
                  &lt;name&gt;local.repository&lt;/name&gt;
  
       &lt;url&gt;http://localhost:8888/repository/local.repository/&lt;/url&gt;
                  &lt;releases&gt;
                      &lt;enabled&gt;true&lt;/enabled&gt;
                  &lt;/releases&gt;
                  &lt;snapshots&gt;
                      &lt;enabled&gt;false&lt;/enabled&gt;
                  &lt;/snapshots&gt;
              &lt;/repository&gt;
          &lt;/repositories&gt;
          &lt;pluginRepositories&gt;
              &lt;pluginRepository&gt;
                  &lt;id&gt;local.repository&lt;/id&gt;
                  &lt;name&gt;local.repository&lt;/name&gt;
  
     &lt;url&gt;http://localhost:8888/repository/local.repository/&lt;/url&gt;
                  &lt;releases&gt;
                      &lt;enabled&gt;true&lt;/enabled&gt;
                  &lt;/releases&gt;
                  &lt;snapshots&gt;
                      &lt;enabled&gt;false&lt;/enabled&gt;
                  &lt;/snapshots&gt;
              &lt;/pluginRepository&gt;
          &lt;/pluginRepositories&gt;
      &lt;/profile&gt;
  &lt;/profiles&gt;
      &lt;/settings&gt;
  </code></pre>
  
  <p>and then tried to add archetype catalog in maven settings in eclipse but it saying remote catalog is empty
  <img src="https://imgur.com/2b08Erc.jpg" alt="empty remote catalog">.
  What i need to do to get correct archetypes to create maven project in eclipse?</p>