title: Maven - How do I validate dependencies are available in the declared repositories?
body: <p>I have just edited the <code>&lt;repositories /&gt;</code> section of my <code>pom.xml</code> file for a project, removing a couple of repo's I thought were unneeded.</p>
  
  <p>I'd like to validate that the declared dependencies are still resolvable in the available repositories.</p>
  
  <p>However, all of the declared dependencies are available in my local repo, so any attempt to build will just use the local ones.</p>
  
  <p>I don't want to simply nuke my local repo, as it takes many hours to download all the dependencies from scratch.</p>
  
  <p>Similarly, I'm not interested in having maven attempt to download all the dependencies, I just want it to ensure that they're all resolvable (including transitive dependencies).</p>
  
  <p>How do I do this?</p>