Service unavailable error while building using Maven

I am a newbie to Maven. First time I run the mvn clean install command and it gave me the below error:

[ERROR] Non-resolvable parent POM: Could not transfer artifact com.sybase365.mobiliser:mobiliser-parent:pom:4.6.0-RC02 from/to repo ( Failed to transfer file: Return code is: 503, ReasonPhrase:Service Temporarily Unavailable. and 'parent.relativePath' points at wrong local POM @ line 3, column 11 ->

How do I resolve this error?


Your remote repository is inaccessible. See explanation for error 503 in here.

Could be, also I find this error happens all the time when the repo is available and downloading the file manually from the nexus GUI works. For some reason maven looks in the wrong repository location. If it happens for one jar and its pom you can down load the file by hand.

If maven ever hits a temporary HTTP problem it stores a lastUpdated file that you need to delete or it will not try to download the file again for a while. sudo updatedb && locate lastUpdated | xargs rm Or scrabble around in explorer in /Users/username/.m2/repository to find the files if you use windoze

Another thing that can mess with repo access is the proxy that maven uses. Check the contents of ~/.m2/settings.xml or create this file and setup what ever HTTP proxies or lack there of that you need to access the repos you have configured in poms.

I think i found the reason it gives 503. In my case this was a proxy issues inspite of excluding hosts that belong to a certain domain.

Remove the proxy from manage jenkins -> manage plugin -> advanced and try again

Need Your Help

Light text on dark background too bold on Firefox for Mac

macos firefox

When light text is shown on a dark background on a web page, Firefox for Mac renders the font too bold. This only applies to the Mac version, the windows version renders fine.

How to URI-Encode image?

swift http alchemyapi

I am reading through the alchemy-API documentation here: