Maven 1 central repository moved

If you are still using Maven 1 you may have found that the repository is not working and Maven is unable to download new dependencies. The reason is that the ibiblio guys have moved the repo to another machine and Maven 1.0.x can’t handle redirects across different host names.

The workaround is to use the mirror configuration until ibiblio fixes the problem. Add to yor project.properties

maven.repo.remote=http://mirrors.ibiblio.org/pub/mirrors/maven

Although you should probably be using Maven 2 πŸ˜‰

Update! If you want to point to the main repo you should use the following, although it’s always a good idea to use a mirror

maven.repo.remote=http://repo1.maven.org/maven

Leave a comment