Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Maven is trying to update glassfish plugin from maven.ocean.net.au

We cannot deploy our app as Maven is trying to update glassfish plugin from maven.ocean.net.au repository, although no such repository was defined in our pom. The problem is maven.ocean.net.au isn't online and therefor our build fails. Has this happened to anybody else?

like image 445
mkvcvc Avatar asked Oct 21 '10 14:10

mkvcvc


1 Answers

The dependency resolution will only fail if no other repository being used has the version of the glassfish plugin you are attempting to use.

Make sure your maven setup has several other plugin repositories (best is a local repository which proxies requests to remote servers, to build up a huge local cache of Maven artifacts) so that resolution won't fail when a single repo can't be reached.

like image 78
matt b Avatar answered Nov 07 '22 07:11

matt b