IntelliJ IDEA 13.1 - Updating maven repository index authentication failure

user3428555 picture user3428555 · Mar 23, 2014 · Viewed 19.9k times · Source

When I want to update indices from the central Maven repository, I always get an error:

java.lang.RuntimeException: java.io.IOException: Authorization exception retrieving nexes-maven-repository-index.properties.

What I am missing here?

Answer

CrazyCoder picture CrazyCoder · Mar 27, 2014

It's a known issue.

The workaround is to disable an option to Use Maven 3 in IDEA Settings | Maven | Importing.

Another workaround is to replace Maven jars in IDEA distribution with more recent versions.

Original problem will be fixed in IDEA 13.1.2 (to be released soon).