title: maven build downloads my projects from remote repository instead of my local hard drive
body: <p>I have added the below repository in my pom.xml, as I need Primefaces library. </p>
  
  <pre><code>            &lt;repositories&gt;
                  &lt;repository&gt;
                      &lt;id&gt;prime-repo&lt;/id&gt;
                      &lt;name&gt;PrimeFaces Maven Repository&lt;/name&gt;
                      &lt;url&gt;http://repository.primefaces.org&lt;/url&gt;
                      &lt;layout&gt;default&lt;/layout&gt;
                  &lt;/repository&gt;
              &lt;/repositories&gt;             
  </code></pre>
  
  <p>But once added when I run the build the build logs shows it downloads from the remote repository <a href="http://repository.primefaces.org" rel="nofollow">http://repository.primefaces.org</a> instead of my local hard drive.. and have the below logs. </p>
  
  <p>Please clarify.
  Many thanks.</p>
  
  <pre><code>            [INFO] Scanning for projects...
              [INFO]                                                                         
              [INFO] ------------------------------------------------------------------------
              [INFO] Building xxx_presentation Maven Webapp 0.0.1-SNAPSHOT
              [INFO] ------------------------------------------------------------------------
              Downloading: http://repository.primefaces.org/com/jay/business/0.0.1-SNAPSHOT/maven-metadata.xml
              Downloading: http://repository.primefaces.org/com/jay/data/0.0.1-SNAPSHOT/maven-metadata.xml
              Downloading: http://repository.primefaces.org/com/oracle/ojdbc6/11.2.0.3/ojdbc6-11.2.0.3.pom
              Downloading: http://repo.maven.apache.org/maven2/com/oracle/ojdbc6/11.2.0.3/ojdbc6-11.2.0.3.pom
              [WARNING] The POM for com.oracle:ojdbc6:jar:11.2.0.3 is missing, no dependency information available
              Downloading: http://repository.primefaces.org/com/jay/common/my_common/0.0.1-SNAPSHOT/maven-metadata.xml
              Downloading: http://repository.primefaces.org/com/jay/common/my_common/0.0.1-SNAPSHOT/maven-metadata.xml
              Downloading: http://repository.primefaces.org/com/jay/common/business/my_common_business/0.0.1-SNAPSHOT/maven-metadata.xml
              Downloading: http://repository.primefaces.org/com/jay/common/data/my_common_data/0.0.1-SNAPSHOT/maven-metadata.xml
  </code></pre>