Maven repository woes easily solved

Maven 1 users might have discovered this already: the Maven 1 repository at ibiblio.org doesn’t work with Maven 1 anymore. Some network setting at the ibiblio server was changed, which causes a redirect that the httpclient library used by Maven 1 doesn’t know how to follow, and fails.

Fortunately the fix is easy: put the following setting in your build.properties in your home directory (C:\Documents and Settings\[username]):

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

and you’re back in business.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>