title: how to prevent maven from checking foreign repositories?
body: <p>When I build using maven I see it checking all sort of foreign repositories for artifacts which only my local build should produce.  How can I tell it that the com.myorg group can only be found in the local repository?  Basically I want to do what m2eclipse does with workspace resolution but on the command line.</p>
  
  <pre><code>[INFO] snapshot com.myorg:core:0.0.1-SNAPSHOT: checking for updates from sun-jms
  [INFO] snapshot com.myorg:core:0.0.1-SNAPSHOT: checking for updates from hibernate
  [INFO] snapshot com.myorg:util:0.0.1-SNAPSHOT: checking for updates from sun-jms
  [INFO] snapshot com.myorg:util:0.0.1-SNAPSHOT: checking for updates from hibernate
  ...
  </code></pre>
  
  <p><strong>Background:</strong>
  I have a hierarchical maven project (one level).  I want to do a full build so i go to the top and do <code>mvn clean install</code>.  </p>
  
  <ul>
  <li>com.myorg (parent) 
  
  <ul>
  <li>pom.xml</li>
  <li>com.myorg.core 
  
  <ul>
  <li>pom.xml </li>
  </ul></li>
  <li>com.myorg.util
  
  <ul>
  <li>pom.xml</li>
  </ul></li>
  </ul></li>
  </ul>