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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s