Alex Rivera | Logout

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

Asked 2010-10-21T14:20:26.780
10

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?

Edit
Report

2 Answers

1

I have the same problem. However, using the java.net Maven2 Repository cannot solve it, since this is the place where the reference to ocean.net.au repository comes from: http://download.java.net/maven/2/org/glassfish/maven/plugin/maven-glassfish-plugin/2.1/maven-glassfish-plugin-2.1.pom Maybe they should change their .pom?

answered 2012-03-31T08:26:48.307
0

I guess you're using org.glassfish.maven.plugin:maven-glassfish-plugin:2.2-SNAPSHOT which declares indeed http://maven.ocean.net.au/snapshot as snapshot repository.

My suggestion would be to use a released version of the plugin e.g. version 2.1 (released versions of this plugin are hosted in the java.net Maven2 Repository) or to patch and deploy a version 2.2 to your internal corporate repository (i.e. don't use a snapshot from the Ocean Maven2 Snapshot Repository).

answered 2010-10-21T22:18:05.810

Your Answer