title: Unindexed remote maven repositories in IntelliJ IDEA 14
body: <p>I've imported an existing Gradle project to IntelliJ IDEA. I keep getting a notification:</p>
  
  <p><a href="https://i.stack.imgur.com/rpCNe.png" rel="noreferrer"><img src="https://i.stack.imgur.com/rpCNe.png" alt="Notification text"></a></p>
  
  <blockquote>
    <p>Unindexed remote maven repositories found. <strong>Disable...</strong></p>
    
    <p>The following repositories used in your gradle projects were not indexed yet: 
             <a href="http://repo1.maven.org/maven2" rel="noreferrer">http://repo1.maven.org/maven2</a></p>
    
    <p>If you want to use dependency completion for these repositories artifacts,
             <strong>Open Repositories List</strong>, select required repositories and press "Update" button (<strong>show balloon</strong>)</p>
  </blockquote>
  
  <p>So, I've opened the Repositories List and as you might imagine there is <em>http://repo1.maven.org/maven2</em> with the Type=Remote and Updated=Never. The problem is, when I click on the <strong>Update</strong> button, IDEA takes a few minutes and then reports an error. </p>
  
  <p><a href="https://i.stack.imgur.com/tDmeh.png" rel="noreferrer"><img src="https://i.stack.imgur.com/tDmeh.png" alt="Error after update"></a></p>
  
  <pre><code>java.lang.RuntimeException: 
  org.codehaus.plexus.repository.exception.ComponentLookupException:
  java.util.NoSuchElementException
  
  role: org.apache.maven.execution.MavenExecutionRequestPopulator
  roleHint: 
  </code></pre>
  
  <p>What should I do now? How can I solve this problem? I'm not looking for a way to disable notifications for this. Restarting IDEA doesn't help, trying to Update the repository index fails immediately after the next attempt.</p>