title: How does Maven2 know where to find plugins?
body: <p>I'm using Maven2 and I can't seem to find any plugins in my repository. I'm getting errors like</p>
  
  <blockquote>
    <p>repository metadata for:
    'org.apache.maven.plugins' could not
    be found on repository: myrepo</p>
  </blockquote>
  
  <p>where myrepo is the name of my repository.</p>
  
  <p>My question is how does Maven know where to find plugins? There's a reference in my error to metadata, what metadata is expected where and what format must it take? I've not had much luck so far looking for documentation...</p>
  
  <p>(I'm not interested in the easy answer to use the central repo, I want to know why myrepo isn't working.)</p>
  
  <p>Thanks!</p>