Maven正在尝试从maven.ocean.net.au更新glassfish插件 [英] Maven is trying to update glassfish plugin from maven.ocean.net.au
问题描述
我们无法部署我们的应用程序,因为Maven试图从maven.ocean.net.au存储库更新glassfish插件,尽管我们的pom没有定义这样的存储库。问题是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?
推荐答案
我猜你正在使用 org.glassfish.maven。插件:maven-glassfish-plugin:2.2-SNAPSHOT
其中声明确实是 http:// maven.ocean.net.au/snapshot 作为快照存储库。
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.
我的建议是使用发布版本的插件例如版本2.1(此插件的发布版本托管在 java.net Maven2存储库中)或修补程序并将一个版本 2.2 部署到您的内部公司存储库(即不要使用 Ocean Maven2 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).
这篇关于Maven正在尝试从maven.ocean.net.au更新glassfish插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!