Maven repository: connection timeout -
it became unable download artifact http://repo.aduno-software.com repository (connection timed out). issues lasts couple weeks.
is there substitution repo , may knows whom complain server's out of service condition ?
i've tried out lots of different maven repositories can not cover project's dependencies while mentioned 1 does.
note this work around kind of hacky , might work if data available other repos. here came (maven docs explains of these settings):
- 1. find settings xml under maven directory. on windows, in there under conf\settings.xml
- 2. add mirrors settings file:
<mirrors> <!-- mirror | specifies repository mirror site use instead of given repository. repository | mirror serves has id matches mirrorof element of mirror. ids used | inheritance , direct lookup purposes, , must unique across set of mirrors. | <mirror> <id>mirrorid</id> <mirrorof>repositoryid</mirrorof> <name>human readable name mirror.</name> <url>http://my.repository.com/repo/path</url> </mirror> --> <mirror> <id>ibiblio.org</id> <url>http://mirrors.ibiblio.org/pub/mirrors/maven2</url> <mirrorof>central</mirrorof> </mirror> <mirror> <id>ibiblio.net</id> <url>http://www.ibiblio.net/pub/packages/maven2</url> <mirrorof>http://repo.aduna-software.org/maven2/releases/</mirrorof> </mirror> <mirror> <id>uk.maven.org</id> <url>http://uk.maven.org/maven2</url> <mirrorof>central</mirrorof> </mirror>
- 3. make sure connection repo.aduna-software.org times out fast, add
127.0.0.1 repo.aduna-software.org
host files order of mirror entries matter - maven tries first mirror first, might need tweak it.
Comments
Post a Comment